Skip to content
Snippets Groups Projects
Commit 3cc3810b authored by Steven Murray's avatar Steven Murray
Browse files

Improved logs. Error messages from the tape gateway are no labelled as such.

parent 45557b1b
Branches
Tags
No related merge requests found
......@@ -171,7 +171,9 @@ bool castor::tape::aggregator::GatewayTxRx::getVolumeFromGateway(
// Translate the reception of the error report into a C++ exception
castor::exception::Exception ex(errorCode);
ex.getMessage() << errorMessage;
ex.getMessage() << __PRETTY_FUNCTION__
<< ": Tape gateway error report "
": " << errorMessage;
throw ex;
}
......@@ -382,7 +384,9 @@ bool castor::tape::aggregator::GatewayTxRx::getFileToMigrateFromGateway(
// Translate the reception of the error report into a C++ exception
castor::exception::Exception ex(errorCode);
ex.getMessage() << errorMessage;
ex.getMessage() << __PRETTY_FUNCTION__
<< ": Tape gateway error report "
": " << errorMessage;
throw ex;
}
......@@ -559,7 +563,9 @@ bool castor::tape::aggregator::GatewayTxRx::getFileToRecallFromGateway(
// Translate the reception of the error report into a C++ exception
castor::exception::Exception ex(errorCode);
ex.getMessage() << errorMessage;
ex.getMessage() << __PRETTY_FUNCTION__
<< ": Tape gateway error report "
": " << errorMessage;
throw ex;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment