diff --git a/VERSION b/VERSION index 0c62199..ee1372d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.2.1 +0.2.2 diff --git a/pom.xml b/pom.xml index 3102808..12a0f5c 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ co.arago.hiro.client hiro-client-java - 0.2.1 + 0.2.2 arago GmbH diff --git a/src/main/java/co/arago/hiro/client/connection/token/PasswordAuthTokenAPIHandler.java b/src/main/java/co/arago/hiro/client/connection/token/PasswordAuthTokenAPIHandler.java index 7c13509..83bee86 100644 --- a/src/main/java/co/arago/hiro/client/connection/token/PasswordAuthTokenAPIHandler.java +++ b/src/main/java/co/arago/hiro/client/connection/token/PasswordAuthTokenAPIHandler.java @@ -460,7 +460,7 @@ public synchronized void refreshToken() throws IOException, InterruptedException maxRetries); this.tokenInfo.parse(tokenResponse); - } catch (TokenUnauthorizedException e) { + } catch (HiroHttpException e) { log.warn("Error using refresh token: {}", e.getMessage()); requestToken(); }