Commit d3487132 authored by Giuseppe Lo Presti's avatar Giuseppe Lo Presti
Browse files

Report (stager) error when file close failed

parent 3b6e794a
......@@ -542,7 +542,7 @@ XrdxCastor2OfsFile::close()
// If failed to commit to diskmanager then return error
if (dm_errno)
{
xcastor_err("path=%s failed sending status to diskmanager", newpath.c_str());
xcastor_err("path=%s failed closing file: %s", newpath.c_str(), errormsg);
rc = gSrv->Emsg("close", error, dm_errno, "send status to diskmanager");
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment