Fix crash when SQL export fails to create output directory, cancel operation in that case

This commit is contained in:
Ansgar Becker
2022-03-27 09:04:39 +02:00
parent 8927ae1f43
commit be7a697733

View File

@ -789,6 +789,11 @@ var
ErrorDialog(E.Message);
FCancelled := True;
end;
on E:EInOutError do begin
// ForceDirectories failed with "Unable to create directory."
ErrorDialog(E.Message);
FCancelled := True;
end;
end;
end;