Skip to content

Commit

Permalink
Bug 1963027: Upload qcow2 to PVC too small
Browse files Browse the repository at this point in the history
  • Loading branch information
glekner committed Aug 22, 2021
1 parent 1db91c3 commit ae71edb
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@ export const useCDIUploadHook = (): CDIUploadContextProps => {
uploadStatus: UPLOAD_STATUS.CANCELED,
});
} else {
updateUpload({ ...newUpload, uploadStatus: UPLOAD_STATUS.ERROR, uploadError: err });
updateUpload({
...newUpload,
uploadStatus: UPLOAD_STATUS.ERROR,
uploadError: { message: `${err.message}: ${err.response?.data}` },
});
}
});
}
Expand Down

0 comments on commit ae71edb

Please sign in to comment.