mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 23:43:06 +00:00
More improvements to fail() messages (add primary error msg)
This commit is contained in:
@@ -73,12 +73,12 @@ public class MetadataValueTest extends AbstractUnitTest
|
||||
catch (AuthorizeException ex)
|
||||
{
|
||||
log.error("Authorize Error in init", ex);
|
||||
fail("Authorize Error in init");
|
||||
fail("Authorize 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());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user