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 57074e8 commit 7aea1d8Copy full SHA for 7aea1d8
CHANGELOG.md
@@ -1,8 +1,8 @@
1
# Yii Error Handler Change Log
2
3
-## 2.0.3 under development
+## 2.1.0 under development
4
5
-- no changes in this release.
+- Enh #55: Defer exit on terminate (rustamwin)
6
7
## 2.0.2 February 04, 2022
8
src/ErrorHandler.php
@@ -160,6 +160,8 @@ private function renderThrowableAndTerminate(Throwable $t): void
160
http_response_code(Status::INTERNAL_SERVER_ERROR);
161
162
echo $this->handle($t);
163
- exit(1);
+ register_shutdown_function(static function (): void {
164
+ exit(1);
165
+ });
166
}
167
0 commit comments