lib/rails_cloud_tasks/rack/tasks.rb in rails-cloud-tasks-0.0.1 vs lib/rails_cloud_tasks/rack/tasks.rb in rails-cloud-tasks-0.0.2

- old
+ new

@@ -9,10 +9,10 @@ request = ::Rack::Request.new(env) job = extract_job(request) ActiveJob::Base.execute(job) - response(200, { error: nil }) + response(200, {}) rescue Rack::InvalidPayloadError => e response(400, { error: e.cause.message }) rescue StandardError => e response(500, { error: e.message }) end