From abaa8a554406734db771ecc502ec1cf5b8950973 Mon Sep 17 00:00:00 2001 From: Eric Mill Date: Wed, 9 Apr 2014 00:24:18 -0400 Subject: [PATCH] specifically halt after reporting exception --- api/sunlight.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/api/sunlight.rb b/api/sunlight.rb index e94f6025..9eedafbb 100644 --- a/api/sunlight.rb +++ b/api/sunlight.rb @@ -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 \ No newline at end of file