Differential D25386 Diff 1356 src/applications/console/plugin/errorlog/DarkConsoleErrorLogPluginAPI.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/console/plugin/errorlog/DarkConsoleErrorLogPluginAPI.php
Show All 38 Lines | switch ($event) { | ||||
'details' => $value->getMessage(), | 'details' => $value->getMessage(), | ||||
'event' => $event, | 'event' => $event, | ||||
'file' => $value->getFile(), | 'file' => $value->getFile(), | ||||
'line' => $value->getLine(), | 'line' => $value->getLine(), | ||||
'str' => $value->getMessage(), | 'str' => $value->getMessage(), | ||||
'trace' => $metadata['trace'], | 'trace' => $metadata['trace'], | ||||
); | ); | ||||
break; | break; | ||||
case PhutilErrorHandler::DEPRECATED: | |||||
case PhutilErrorHandler::ERROR: | case PhutilErrorHandler::ERROR: | ||||
// $value is a simple string | // $value is a simple string | ||||
self::$errors[] = array( | self::$errors[] = array( | ||||
'details' => $value, | 'details' => $value, | ||||
'event' => $event, | 'event' => $event, | ||||
'file' => $metadata['file'], | 'file' => $metadata['file'], | ||||
'line' => $metadata['line'], | 'line' => $metadata['line'], | ||||
'str' => $value, | 'str' => $value, | ||||
Show All 21 Lines |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0