Skip to content

Commit

Permalink
更新错误处理类
Browse files Browse the repository at this point in the history
  • Loading branch information
He110te4m committed Apr 2, 2018
1 parent 9022036 commit 820cb64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion despote/kernel/ErrCatch.php
Expand Up @@ -77,7 +77,7 @@ public function onShutdown()
$error = error_get_last();

if ($error) {
$this->display($error['type'], $error['message'], $error['file'], $error['line']);
$this->display('error', $error['message'], $error['file'], $error['line']);
}
}

Expand Down

0 comments on commit 820cb64

Please sign in to comment.