|
From: | noreply |
Subject: | [myexperiment-hackers] [3076] trunk/lib/rest.rb: reenabled the exception catch for API errors |
Date: | Mon, 6 Aug 2012 10:23:59 +0000 (UTC) |
--- trunk/lib/rest.rb 2012-08-06 10:15:26 UTC (rev 3075)
+++ trunk/lib/rest.rb 2012-08-06 10:23:58 UTC (rev 3076)
@@ -2257,10 +2257,10 @@
# Call dispatcher
def rest_call_request(opts)
-# begin
+ begin
send(opts[:rules]['Function'], opts)
-# rescue
-# return rest_response(500)
-# end
+ rescue
+ return rest_response(500)
+ end
end
[Prev in Thread] | Current Thread | [Next in Thread] |