better error handling in exifextractor