Skip to content

Commit

Permalink
fail nicer
Browse files Browse the repository at this point in the history
  • Loading branch information
d-m-u committed Apr 26, 2019
1 parent 065529f commit aa0f0d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/service_template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def create_service(service_task, parent_svc = nil)

nh['initiator'] = service_task.options[:initiator] if service_task.options[:initiator]

service = Service.create(nh) do |svc|
service = Service.create!(nh) do |svc|
svc.service_template = self
set_ownership(svc, service_task.get_user)

Expand Down

0 comments on commit aa0f0d1

Please sign in to comment.