From 3d1f166fe5747bc3d11fb6cecf2a11b143efeec4 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 10 Dec 2009 21:20:18 -0800 Subject: Log the entire stack trace when we catch an exception. --- modules/gallery/helpers/identity.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/gallery/helpers/identity.php b/modules/gallery/helpers/identity.php index 72e3312d..83ba9e1e 100644 --- a/modules/gallery/helpers/identity.php +++ b/modules/gallery/helpers/identity.php @@ -82,7 +82,8 @@ class identity_Core { } } catch (Exception $e) { // Log it, so we at least have so notification that we swallowed the exception. - Kohana::log("error", "Load_user Exception: " . $e->__toString()); + Kohana::log("error", "Load_user Exception: " . + $e->getMessage() . "\n" . $e->getTraceAsString()); try { Session::instance()->destroy(); } catch (Exception $e) { -- cgit v1.2.3 From 7515b424e00831e9588a48ab46eca0405dde250f Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Sat, 12 Dec 2009 17:13:24 -0700 Subject: Tighten-up white space for error message/icon on forms. Fix icon/white-space on g2_import messages, fixes #765. --- lib/gallery.common.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/gallery.common.css b/lib/gallery.common.css index 5119bf79..87498b40 100644 --- a/lib/gallery.common.css +++ b/lib/gallery.common.css @@ -320,6 +320,7 @@ tr.g-warning td.g-warning { form .g-error { background-color: #fff; + padding-left: 20px; } .g-open { @@ -492,6 +493,7 @@ ul.sf-menu li li li.sfHover ul { /* Status and validation messages ~~~~ */ .g-message-block { + background-position: .4em .3em; border: 1px solid #ccc; padding: 0; } @@ -516,6 +518,10 @@ div#g-action-status { margin-bottom: 1em; } +.g-message { + background-position: 0 50%; +} + /* Breadcrumbs ~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ .g-breadcrumbs { -- cgit v1.2.3