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 cb46fc2 commit a38dc24Copy full SHA for a38dc24
src/WebApp/RestPage.php
@@ -70,6 +70,7 @@ protected function errorFromThrowable($t) {
70
if ($this->app->config->has('debug') && $this->app->config->get('debug')) {
71
$data = \TgUtils\FormatUtils::getTraceLines($t);
72
}
73
+ Log::error('RestPage error: ', \TgUtils\FormatUtils::getTraceLines($t));
74
return RestResult::error500($data);
75
76
0 commit comments