diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-12-17 09:16:44 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-12-17 09:16:44 -0800 |
commit | c99a75b5d150f14c96697833f08354afd456323a (patch) | |
tree | 62e2d9d0066103e1bd12673309890cf38ff87087 /modules/gallery | |
parent | f431d7e12e0be10cfd7ea30543a44cf17a4e8275 (diff) |
Improve the exception error message.
Diffstat (limited to 'modules/gallery')
-rw-r--r-- | modules/gallery/controllers/packager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/controllers/packager.php b/modules/gallery/controllers/packager.php index 1354a01b..d27adf4d 100644 --- a/modules/gallery/controllers/packager.php +++ b/modules/gallery/controllers/packager.php @@ -30,7 +30,7 @@ class Packager_Controller extends Controller { $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; } |