Skip to content
Snippets Groups Projects
Commit d7464923 authored by tpylak's avatar tpylak
Browse files

LMS-2027 print stack trace even when the retriable error occurs

SVN: 19936
parent 0d1cc746
No related branches found
No related tags found
No related merge requests found
......@@ -105,7 +105,8 @@ class Hdf5ThumbnailGenerator implements IHdf5WriterClient
}
} catch (IOException ex)
{
ex.printStackTrace();
operationLog
.warn("Retriable error when creating thumbnail '" + thumbnailPath + "'", ex);
return Status.createRetriableError(String.format(
"Could not generate a thumbnail '%s': %s", thumbnailPath, ex.getMessage()));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment