lib/rails_cloud_tasks/rack/tasks.rb in rails-cloud-tasks-0.0.5 vs lib/rails_cloud_tasks/rack/tasks.rb in rails-cloud-tasks-0.0.6
- old
+ new
@@ -15,11 +15,9 @@
ActiveJob::Base.execute(job)
response(200, {})
rescue Rack::InvalidPayloadError => e
response(400, { error: e.cause.message })
- rescue StandardError => e
- response(500, { error: e.message })
end
private
def extract_job(request)