Skip to content

Commit bd783e3

Browse files
committed
SaveImage.m: display error
1 parent 4822c79 commit bd783e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ImageM/+imagem/+actions/+file/SaveImage.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function run(obj, frame) %#ok<INUSL,INUSD>
5757
write(img, fullfile(pathName, fileName));
5858
catch ex
5959
errordlg(ex.message, 'Image Writing Error', 'modal');
60-
return;
60+
error(ex.message);
6161
end
6262

6363
% add history

0 commit comments

Comments
 (0)