Skip to content

Commit 1f05451

Browse files
committed
Fix http response err message [ci fast]
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
1 parent 4211ec6 commit 1f05451

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plugins/nf-tower/src/main/io/seqera/tower/plugin/TowerFusionToken.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ class TowerFusionToken implements FusionToken {
310310
}
311311

312312
if( resp.statusCode() == 401 ) {
313-
throw new UnauthorizedException("Unauthorized [401] - Verify you have provided a valid access token")
313+
throw new UnauthorizedException("Unauthorized [401] - Verify you have provided a Seqera Platform valid access token")
314314
}
315315

316316
throw new BadResponseException("Invalid response: ${httpReq.method()} ${httpReq.uri()} [${resp.statusCode()}] ${resp.body()}")

plugins/nf-wave/src/main/io/seqera/wave/plugin/WaveClient.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ class WaveClient {
317317
return sendRequest0(request, attempt+1)
318318
}
319319
else
320-
throw new UnauthorizedException("Unauthorized [401] - Verify you have provided a valid access token")
320+
throw new UnauthorizedException("Unauthorized [401] - Verify you have provided a valid Seqera Platform access token")
321321
}
322322
else
323323
throw new BadResponseException("Wave invalid response: POST ${uri} [${resp.statusCode()}] ${resp.body()}")

0 commit comments

Comments
 (0)