Skip to content

Commit

Permalink
Logging more info on new session creation errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Dec 13, 2017
1 parent 0bea0a1 commit 531ff23
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -258,7 +258,8 @@ public Optional<ActiveSession> apply(Set<Dialect> downstreamDialects, Capabiliti
new SessionId(response.getSessionId()),
(Map<String, Object>) response.getValue()));
} catch (IOException | IllegalStateException | NullPointerException e) {
throw new SessionNotCreatedException("Cannot establish new session", e);
e.printStackTrace();
throw new SessionNotCreatedException("Cannot establish new session: " + e.getMessage(), e);
}
}

Expand Down

0 comments on commit 531ff23

Please sign in to comment.