summaryrefslogtreecommitdiff
path: root/src/lib/copy_to_drive_job.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/copy_to_drive_job.cc')
-rw-r--r--src/lib/copy_to_drive_job.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/copy_to_drive_job.cc b/src/lib/copy_to_drive_job.cc
index 9d3a6721a..7d208e0ec 100644
--- a/src/lib/copy_to_drive_job.cc
+++ b/src/lib/copy_to_drive_job.cc
@@ -109,7 +109,7 @@ CopyToDriveJob::run ()
case DiskWriterBackEndResponse::Type::PONG:
break;
case DiskWriterBackEndResponse::Type::ERROR:
- throw CopyError(response->error_message(), response->error_number());
+ throw CopyError(response->error_message(), response->ext4_error_number(), response->platform_error_number());
case DiskWriterBackEndResponse::Type::FORMAT_PROGRESS:
if (state == SETUP) {
sub (_("Formatting drive"));