mirror of
https://github.com/magefree/mage.git
synced 2025-12-19 18:20:13 -08:00
tests: improved load tests (improved progress bar, added effects stats)
This commit is contained in:
parent
f5b901beb4
commit
3405b51aaf
7 changed files with 55 additions and 24 deletions
|
|
@ -1001,10 +1001,10 @@ public class MageServerImpl implements MageServer {
|
|||
}
|
||||
|
||||
public void handleException(Exception ex) throws MageException {
|
||||
if (!ex.getMessage().equals("No message")) {
|
||||
logger.fatal("", ex);
|
||||
if (ex.getMessage() != null && !ex.getMessage().equals("No message")) {
|
||||
throw new MageException("Server error: " + ex.getMessage());
|
||||
}
|
||||
logger.error("unknown error", ex); // TODO: on logs spamming (e.g. connection problems) move it inside condition block above
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue