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 0233d9e commit 10e85caCopy full SHA for 10e85ca
src/Cli/VerboseModeEnabler.php
@@ -67,6 +67,11 @@ public static function start(): void
67
68
// Reset stty so it behaves normally again
69
self::setSttyMode($previousSttyMode);
70
+ })->catch(function (\Throwable $e) {
71
+ // Silence CancelledException (expected when stop() is called), but rethrow other exceptions
72
+ if (! $e instanceof \Amp\CancelledException) {
73
+ throw $e;
74
+ }
75
});
76
}
77
0 commit comments