Thought & Theory

In Theory

Facebook Platform error handling just got better!

The Facebook Platform development team has been really busy, they’re constantly pushing updates and deprecating functions (sometimes with a weeks notice). After checking the updates I saw that they’re releasing FBML 1.2 which they’re testing at beta.facebook.com. I immediately jumped over and started clicking around, everything looked good until I stumbled upon an error page which actually looked damn good!

Django error screen rendered in canvas
It looks like facebook has decided to start rendering the your server’s response to 500 errors directly in the canvas. I’m especially psyched about this because the django DEBUG screen is amazingly informative when debugging errors but was pretty much unusable before. Earlier, you had to ‘view source’ (still works) to get an idea of what your server was sending back during an error which got really old really quick but now on the beta site your app can tell you exactly what’s wrong with it.

Comments are closed.