Give more error info when rescuing exception