summaryrefslogtreecommitdiff
path: root/src/FileAllocationCommand.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FileAllocationCommand.cc')
-rw-r--r--src/FileAllocationCommand.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/FileAllocationCommand.cc b/src/FileAllocationCommand.cc
index 1ac63e7b..335dec0b 100644
--- a/src/FileAllocationCommand.cc
+++ b/src/FileAllocationCommand.cc
@@ -92,6 +92,7 @@ bool FileAllocationCommand::executeInternal()
bool FileAllocationCommand::handleException(Exception& e)
{
+ getRequestGroup()->setLastErrorCode(e.getErrorCode(), e.what());
A2_LOG_ERROR_EX(fmt(MSG_FILE_ALLOCATION_FAILURE, getCuid()), e);
A2_LOG_ERROR(
fmt(MSG_DOWNLOAD_NOT_COMPLETE, getCuid(),