tempest-framework
tempest-framework copied to clipboard
Command bus fails when path not found
× // Tempest\Support\Filesystem\Exceptions\PathWasNotFound
× // File "/Users/brent/Dev/stitcher.io/vendor/tempest/framework/packages/command-bus/src/AsyncCommandRepositories/../stored-commands/0199fac9-53ed-702d-b357-c03a923f628d.pending.txt" is not found.
In /Users/brent/Dev/stitcher.io/vendor/tempest/framework/packages/support/src/Filesystem/Exceptions/PathWasNotFound.php:16
10 {
11 return new self(sprintf('Path "%s" is not found.', $path));
12 }
13
14 public static function forFile(string $file): self
15 {
16 return new self(sprintf('File "%s" is not found.', $file)); <<<
17 }
18
19 public static function forDirectory(string $directory): self
#0 /Users/brent/Dev/stitcher.io/vendor/tempest/framework/packages/support/src/Filesystem/functions.php:116
#1 /Users/brent/Dev/stitcher.io/vendor/tempest/framework/packages/command-bus/src/AsyncCommandRepositories/FileCommandRepository.php:57
Restarting the command bus fixes it, but this shouldn't crash the entire process