mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Fix crash when SQL export fails to create output directory, cancel operation in that case
This commit is contained in:
@ -789,6 +789,11 @@ var
|
|||||||
ErrorDialog(E.Message);
|
ErrorDialog(E.Message);
|
||||||
FCancelled := True;
|
FCancelled := True;
|
||||||
end;
|
end;
|
||||||
|
on E:EInOutError do begin
|
||||||
|
// ForceDirectories failed with "Unable to create directory."
|
||||||
|
ErrorDialog(E.Message);
|
||||||
|
FCancelled := True;
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user