lib/rails_cloud_tasks/rack/jobs.rb in rails-cloud-tasks-0.0.5 vs lib/rails_cloud_tasks/rack/jobs.rb in rails-cloud-tasks-0.0.6
- old
+ new
@@ -18,11 +18,9 @@
job_class.perform_now(*job_args)
response(200, {})
rescue Rack::InvalidPayloadError => e
response(422, { error: e.message })
- rescue StandardError => e
- response(500, { error: e.message })
end
private
def extract_job_class(env)