diff options
Diffstat (limited to 'reach_reports/reach_service.rb')
-rwxr-xr-x | reach_reports/reach_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reach_reports/reach_service.rb b/reach_reports/reach_service.rb index 916a7a4..c93385c 100755 --- a/reach_reports/reach_service.rb +++ b/reach_reports/reach_service.rb @@ -289,7 +289,7 @@ module ReachReports # # report_content = get_report(type, id).get_content # keys.each do |k| -# $sinatra.halt 400, type+" unknown report property '#{key}'" unless report_content.is_a?(Hash) and report_content.has_key?(k) +# $sinatra.raise OpenTox::BadRequestError.new type+" unknown report property '#{key}'" unless report_content.is_a?(Hash) and report_content.has_key?(k) # report_content = report_content[k] # end # report_content |