Skip to content

Commit 764f924

Browse files
Benjamin Schwertfegerslisson
authored andcommitted
fix(mps-sync-plugin): use refresh token, if access token is expired
1 parent d440bc6 commit 764f924

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

model-client/src/jvmMain/kotlin/org/modelix/model/oauth/ModelixAuthClient.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ actual class ModelixAuthClient {
114114
return@withContext tokens
115115
} catch (ex: SocketException) {
116116
LOG.info("Port $port already in use. Trying next one.")
117-
LOG.debug(ex)
117+
LOG.debug("Login failed with socket exception, which is expected, if we can not open the callback port.", ex)
118118
}
119119
}
120120
throw IllegalStateException("Couldn't find an available port for the redirect URL")

0 commit comments

Comments
 (0)