mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-24 03:11:03 -07:00
Merge branch '2.1' of https://github.com/Ultimaker/Cura into 2.1
This commit is contained in:
commit
8dce36583f
1 changed files with 2 additions and 0 deletions
|
|
@ -63,8 +63,10 @@ class RemovableDriveOutputDevice(OutputDevice):
|
||||||
self._writing = True
|
self._writing = True
|
||||||
job.start()
|
job.start()
|
||||||
except PermissionError as e:
|
except PermissionError as e:
|
||||||
|
Logger.log("e", "Permission denied when trying to write to %s: %s", file_name, str(e))
|
||||||
raise OutputDeviceError.PermissionDeniedError() from e
|
raise OutputDeviceError.PermissionDeniedError() from e
|
||||||
except OSError as e:
|
except OSError as e:
|
||||||
|
Logger.log("e", "Operating system would not let us write to %s: %s", file_name, str(e))
|
||||||
raise OutputDeviceError.WriteRequestFailedError() from e
|
raise OutputDeviceError.WriteRequestFailedError() from e
|
||||||
|
|
||||||
def _onProgress(self, job, progress):
|
def _onProgress(self, job, progress):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue