Skip to content

Commit 0061793

Browse files
committed
chore: Update error message
1 parent 26e5e76 commit 0061793

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

oauth2_http/java/com/google/auth/oauth2/ImpersonatedCredentials.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ public AccessToken refreshAccessToken() throws IOException {
678678
expirationInstant = Instant.parse(expireTime);
679679
}
680680
} catch (DateTimeException e) {
681-
throw new IOException("Unparseable date: \"" + expireTime + "\"", e);
681+
throw new IOException("Error parsing expireTime: " + expireTime, e);
682682
}
683683
return new AccessToken(accessToken, Date.from(expirationInstant));
684684
}

0 commit comments

Comments
 (0)