Skip to content

Commit

Permalink
Add debug trace
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Cabrero committed Mar 10, 2014
1 parent d55da6e commit e362ebd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main/core/src/EBox/CGI/ClientRawBase.pm
Expand Up @@ -196,12 +196,14 @@ sub run
"a bug, relevant information can ".
"be found in the logs.");
$self->_print_error($error);
EBox::trace();
} else {
if ($ex->can('text')) {
$logger->error('Exception: ' . $ex->text());
} else {
$logger->error("Unknown exception");
}
EBox::trace();

throw $ex;
}
Expand Down

0 comments on commit e362ebd

Please sign in to comment.