nov/fb_graph — pull request #187 by clemens (2012-02-06 11:46:17+00:00)
Title: Support Ruby's standard behavior on custom exceptions

Ruby's standard behavior for Exception#inspect is to show
when no message is given and if a message is given. Custom exceptions
should reflect this behavior.

The problem is fairly obvious when, for instance, using Resque: Instead of displaying the (helpful) Facebook error message, one merely gets "FbGraph::InvalidRequest" which is not helpful for debugging/bugfixing at all. The pull request fixes this issue by calling super at the end.