summaryrefslogtreecommitdiff
path: root/lib/error.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2012-02-28 17:13:20 +0000
committerChristoph Helma <helma@in-silico.ch>2012-02-28 17:13:20 +0000
commitf40871b9b60ae706c0668c9ac4cfbfff866ce5dc (patch)
treee63e0a08523ea8ee07b933af2023cfd5f47f15a8 /lib/error.rb
parentfa9069e13fb6b1c8bb4ebcdf82f1cf1c04ad71ca (diff)
generic rest-client calls ignoring http errors from task services
Diffstat (limited to 'lib/error.rb')
-rw-r--r--lib/error.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/error.rb b/lib/error.rb
index 6987f35..1866585 100644
--- a/lib/error.rb
+++ b/lib/error.rb
@@ -1,6 +1,6 @@
# adding additional fields to Exception class to format errors according to OT-API
class Exception
- attr_accessor :errorCause
+ attr_accessor :errorCause # is errorReport
def http_code; 500; end
end