Not capturing resource errors