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 15e20ae commit 77828c7Copy full SHA for 77828c7
src/Console/Commands/QueueRunCommand.php
@@ -5,6 +5,7 @@
5
namespace Codefy\Framework\Console\Commands;
6
7
use Codefy\Framework\Console\ConsoleCommand;
8
+use Qubus\Exception\Data\TypeException;
9
use Qubus\NoSql\Exceptions\InvalidJsonException;
10
use Qubus\NoSql\Node;
11
use Qubus\Support\Serializer\JsonSerializer;
@@ -50,7 +51,7 @@ public function handle(): int
50
51
$object = new JsonSerializer()->unserialize($queue['object']);
52
queue($object)->dispatch();
53
}
- } catch (InvalidJsonException | ReflectionException $e) {
54
+ } catch (InvalidJsonException | ReflectionException | TypeException $e) {
55
return ConsoleCommand::FAILURE;
56
57
0 commit comments