Skip to content

Commit

Permalink
specifically halt after reporting exception
Browse files Browse the repository at this point in the history
  • Loading branch information
konklone committed Apr 9, 2014
1 parent ed1105f commit abaa8a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/sunlight.rb
Expand Up @@ -20,5 +20,6 @@
key.save!
rescue Exception => ex
Email.report Report.exception("SunlightServices", "Error replicating key.", ex, {key: key.attributes.dup})
halt 500
end
end

0 comments on commit abaa8a5

Please sign in to comment.