Check the relevant part of the exception message.

Fixes rizen/Facebook-Graph/issues#49.