Skip to content

Commit

Permalink
Displays error trace in multiline
Browse files Browse the repository at this point in the history
  • Loading branch information
trecouvr committed Oct 4, 2013
1 parent 42edd32 commit 287a157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Payutc/Dispatcher/Json.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function handleService($service, $method) {
public function handleError($e) {
$app = \Slim\Slim::getInstance();

Log::error(get_class($e)."({$e->getCode()}) {$e->getMessage()} at {$e->getFile()}:{$e->getLine()}", $e->getTrace());
Log::error(get_class($e)."({$e->getCode()}) {$e->getMessage()} at {$e->getFile()}:{$e->getLine()}\n{$e->getTraceAsString()}");

$err_array = array(
'type' => get_class($e),
Expand Down

0 comments on commit 287a157

Please sign in to comment.