X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/085e614c8e7d1a29e675cf839a1ce9d92ffc5d5c..f6f07b1856fc0aa32cdf1f96d5bdeb12e9e314ef:/apps/workbench/app/controllers/application_controller.rb diff --git a/apps/workbench/app/controllers/application_controller.rb b/apps/workbench/app/controllers/application_controller.rb index 18a5d4f169..41d5566885 100644 --- a/apps/workbench/app/controllers/application_controller.rb +++ b/apps/workbench/app/controllers/application_controller.rb @@ -30,6 +30,7 @@ class ApplicationController < ActionController::Base end def render_error(opts) + opts = {status: 500}.merge opts respond_to do |f| # json must come before html here, so it gets used as the # default format when js is requested by the client. This lets