Skip to content

Commit 8ff559b

Browse files
committed
Exception fix
1 parent ec16ff0 commit 8ff559b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Handlers/AbstractHandler.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public function shutdownHandler(): void
104104
$this->throwException = false;
105105
$error = error_get_last();
106106
if($error) {
107-
$item = new ExceptionItem($error['type']);
107+
$item = new ExceptionItem(new ErrorException);
108108
if ($item->isLevelFatal()) {
109109
$this->errorHandler(
110110
$error['type'],
@@ -113,7 +113,6 @@ public function shutdownHandler(): void
113113
$error['line']
114114
);
115115
}
116-
117116
}
118117
}
119118

main.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ code {
3333
}
3434

3535
pre {
36-
width: calc(100vw - 690px);
36+
width: calc(100vw - 560px);
3737
font-size: 1.4rem;
3838
font-family: "Lucida Console", Monaco, monospace;
3939
background-color: #F1F1F1;

0 commit comments

Comments
 (0)