More descriptive error catching

Should be easier to debug when people start uploading full logs :P