Skip to content
This repository was archived by the owner on Nov 9, 2020. It is now read-only.

Commit 40cd7c3

Browse files
committed
Fix unknown job class error message
1 parent e67179a commit 40cd7c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/Controllers/QueueController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function store(Request $request, $queue)
4141
}
4242

4343
if (!class_exists(array_get($json, 'data.commandName'))) {
44-
return new Response('Job payload is no valid JSON', 422);
44+
return new Response('Unknown job class', 422);
4545
}
4646

4747
app('queue')->connection(config('remote-queue.connection'))

0 commit comments

Comments
 (0)