Polish caught exception names
Prefer `ex` over `e`.
This commit is contained in:
@@ -64,7 +64,7 @@ class Container implements TestRule {
|
||||
try {
|
||||
DockerClientFactory.instance().client();
|
||||
}
|
||||
catch (Throwable t) {
|
||||
catch (Throwable ex) {
|
||||
return new SkipStatement();
|
||||
}
|
||||
this.container = this.containerFactory.get();
|
||||
|
||||
@@ -62,8 +62,8 @@ public class Neo4jContainer extends Container {
|
||||
Unreliables.retryUntilTrue((int) this.startupTimeout.getSeconds(),
|
||||
TimeUnit.SECONDS, checkConnection(sessionFactory));
|
||||
}
|
||||
catch (TimeoutException e) {
|
||||
throw new IllegalStateException();
|
||||
catch (TimeoutException ex) {
|
||||
throw new IllegalStateException(ex);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user