More improvements to fail() messages (add primary error msg)

This commit is contained in:
Tim Donohue
2013-10-23 14:55:15 -05:00
parent 82a413511c
commit 1182c54b72
12 changed files with 22 additions and 22 deletions

View File

@@ -66,12 +66,12 @@ public class ThumbnailTest extends AbstractUnitTest
}
catch (IOException ex) {
log.error("IO Error in init", ex);
fail("SQL Error in init");
fail("SQL Error in init: " + ex.getMessage());
}
catch (SQLException ex)
{
log.error("SQL Error in init", ex);
fail("SQL Error in init");
fail("SQL Error in init: " + ex.getMessage());
}
}