Syringe.Net.Nz
Irregular Injection of Opinion
RSS 2.0|Atom 1.0|CDF

 Monday, February 02, 2009
Xero Error handling. Errors in your pages are bad. Errors in your Error pages are REALLY bad.

Whoops! Got to Xero this morning and got this.

image

Looking at the address bar it appears that it’s sent me to the custom error page. And then the custom error page has thrown an unhandled exception which has been bubbled to the default error handler.

If ever there was a case for using ‘On Error Resume Next’ then Custom ASP.NET Error pages are it . Throwing an unhandled exceptin from your nice Custom Error page gives bad UX.

On the plus side, the Xero support people are just super and the actual application really rocks too.

.NET|Monday, February 02, 2009 10:32:23 PM UTC|Comments [2]|    
Tuesday, February 03, 2009 12:29:37 AM UTC
D'oh! Oh well, at least it didn't display a stack trace and violate my own rules :)

http://pageofwords.com/blog/2008/12/17/EllerslieUserGroupOvercomingYourWebInsecurity.aspx

Kirk
Tuesday, February 03, 2009 1:31:07 AM UTC
Good catch! (Though I think we fixed it about a minute after you blogged about it!)

Some changes that happened during this release cycle didn't get made in the custom error pages - it's one of those things you don't always think about until it happens and we tend to do our full QA cycle with full error traces on so our QA team can log detailed issues.

Thanks

Craig




All comments require the approval of the site owner before being displayed.
Name
E-mail
Home page

Comment (Some html is allowed: a@href@title, b, em, i, strike, strong, u) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview