We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69b2440 commit 644e568Copy full SHA for 644e568
src/Illuminate/Bus/DatabaseBatchRepository.php
@@ -6,10 +6,10 @@
6
use Closure;
7
use DateTimeInterface;
8
use Illuminate\Database\Connection;
9
-use Illuminate\Database\Eloquent\ModelNotFoundException;
10
use Illuminate\Database\PostgresConnection;
11
use Illuminate\Database\Query\Expression;
12
use Illuminate\Support\Str;
+use Throwable;
13
14
class DatabaseBatchRepository implements PrunableBatchRepository
15
{
@@ -352,7 +352,7 @@ protected function unserialize($serialized)
352
353
try {
354
return unserialize($serialized);
355
- } catch (ModelNotFoundException) {
+ } catch (Throwable) {
356
return [];
357
}
358
0 commit comments