Skip to content

Commit

Permalink
Display error trace on single line
Browse files Browse the repository at this point in the history
  • Loading branch information
trecouvr committed Oct 4, 2013
1 parent 287a157 commit 48fb7dc
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()}\n{$e->getTraceAsString()}");
Log::error(get_class($e)."({$e->getCode()}) {$e->getMessage()} at {$e->getFile()}:{$e->getLine()}", array('e'=>$e, 'trace'=>$e->getTrace()));

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

0 comments on commit 48fb7dc

Please sign in to comment.