fix "Error, no message..." errors

Link: https://github.com/GeneAssembly/biosal/issues/384
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>