Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Improve the exception error message.
  • Loading branch information
bharat committed Dec 17, 2009
1 parent f431d7e commit c99a75b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/gallery/controllers/packager.php
Expand Up @@ -30,7 +30,7 @@ function package() {
$this->_dump_database(); // Dump the database
$this->_dump_var(); // Dump the var directory
} catch (Exception $e) {
print $e->getTraceAsString();
print $e->getMessage() . "\n" . $e->getTraceAsString();
return;
}

Expand Down

0 comments on commit c99a75b

Please sign in to comment.