Skip to content

Commit

Permalink
Show error on possible service create failure
Browse files Browse the repository at this point in the history
  • Loading branch information
d-m-u committed Apr 29, 2019
1 parent 75d8e0b commit c617cbc
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 c617cbc

Please sign in to comment.