|
@@ -125,6 +125,7 @@ if($submit) {
|
|
|
imagedestroy($output_image);
|
|
imagedestroy($output_image);
|
|
|
|
|
|
|
|
if(!$success) throw new Exception(__("Failed to save %s.", $label));
|
|
if(!$success) throw new Exception(__("Failed to save %s.", $label));
|
|
|
|
|
+ if(!file_exists($output_path)) throw new Exception(__("Failed to save %s."));
|
|
|
}
|
|
}
|
|
|
catch(Exception $e) {
|
|
catch(Exception $e) {
|
|
|
$form_exception->addError($e->getMessage());
|
|
$form_exception->addError($e->getMessage());
|