Oops. Something went wrong ... sorry

Topics: Troubleshooting
Jan 11, 2012 at 5:00 PM
Edited Jan 11, 2012 at 5:01 PM

This is nice, but where can I see the actual exception. (Meaning, the error within the Admin panel.)

Jan 11, 2012 at 5:06 PM

Better yet, how do I turn it off completely?

Jan 11, 2012 at 5:35 PM

It seems you are using 1.x. Then update to the latest changeset, the exception is shown when in the admin. It's shape that can be customized in Themes now.

Jan 11, 2012 at 6:02 PM

Perfect. Thank you.

Feb 23, 2012 at 5:03 PM
Edited Feb 23, 2012 at 5:04 PM

Does this message get shown only when an exception is thrown? Or also when I return a 'null' from an action?

Edit: Can throwning an HttpException cause this too (from inside an action)?

Mar 6, 2012 at 12:58 AM

Wouldn't returning null cause an exception?

Mar 6, 2012 at 7:04 AM
bertrandleroy wrote:

Wouldn't returning null cause an exception?

Honestly I didn't know if it did.

In the past returning a null just returned an empty output, so I returned null when no output was required.

But this is just a tiny change for me, I'll return an empty string from now on :)