This commit is contained in:
2020-09-07 12:04:43 +08:00
parent a2151ae964
commit fdea92418c
2 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ class ErrorHandler extends Component implements ErrorInterface
$error[0] = 500;
}
$data = JSON::to(500, 'Error : ' . $error[1], $path);
$data = JSON::to(500, $error[1], $path);
Snowflake::app()->getLogger()->error($data, 'error');