Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log exception trace in Tower client #3603

Merged
merged 1 commit into from
Feb 3, 2023

Conversation

tcrespog
Copy link
Collaborator

@tcrespog tcrespog commented Feb 3, 2023

In some cases, an IOException might happen when sending a request to Tower even if the returned HTTP code is a successful code such as 200 OK:

Feb-02 17:06:22.569 [main] TRACE io.seqera.tower.plugin.TowerClient - Got error 200 - refreshTries=0 - currentRefresh=null

This change logs the exception trace in order to have more debugging information.

@pditommaso
Copy link
Member

Oh, and why there's an error if it returns 200?

@tcrespog
Copy link
Collaborator Author

tcrespog commented Feb 3, 2023

Oh, and why there's an error if it returns 200?

I don't know. Hence, the exception trace in order to see what might be going on 😃.

@pditommaso pditommaso merged commit 9aeca99 into nextflow-io:master Feb 3, 2023
@pditommaso pditommaso added this to the 23.04.0 milestone Feb 21, 2023
@pditommaso
Copy link
Member

Included in version 23.02.0-edge

abhi18av pushed a commit to abhi18av/nextflow that referenced this pull request Oct 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants