summaryrefslogtreecommitdiff
path: root/report/report_format.rb
diff options
context:
space:
mode:
authormguetlein <martin.guetlein@gmail.com>2011-01-26 15:58:18 +0100
committermguetlein <martin.guetlein@gmail.com>2011-01-26 15:58:18 +0100
commit9750da9cb7dc14309be38f98bc0b50c8bff9eb72 (patch)
tree8b2ce119a932b6b0b35555eeb551e8ecb6bd35bc /report/report_format.rb
parent3af7a871c60fb7d853edd348634d6603fccec101 (diff)
adjust to new A&A for GET, remove old Report-Errorreporting
Diffstat (limited to 'report/report_format.rb')
-rw-r--r--report/report_format.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/report/report_format.rb b/report/report_format.rb
index baf7434..98dea39 100644
--- a/report/report_format.rb
+++ b/report/report_format.rb
@@ -23,7 +23,7 @@ module Reports::ReportFormat
when /application\/x-yaml|\*\/\*/
"application/x-yaml"
else
- raise Reports::BadRequest.new("Accept header '"+accept_header_value.to_s+
+ raise OpenTox::BadRequestError.new("Accept header '"+accept_header_value.to_s+
"' not supported, supported types are "+
"text/html"+", "+
"application/rdf+xml"+", "+