Skip to content

Refactor transfer configuration error handling and logging#1531

Open
haizafrog wants to merge 2 commits intojfrog:masterfrom
haizafrog:bug/ping-issue
Open

Refactor transfer configuration error handling and logging#1531
haizafrog wants to merge 2 commits intojfrog:masterfrom
haizafrog:bug/ping-issue

Conversation

@haizafrog
Copy link
Copy Markdown

  • Updated the error handling in the updateServerDetails method to log a warning if the ping to the target Artifactory fails, while allowing for the possibility of transferring to a new server.

  • Added an informational log message for successful pings to enhance visibility during configuration updates.

  • Commented out the lines for clearing refresh tokens to prevent accidental token misuse during transfers.

  • All tests passed. If this feature is not already covered by the tests, I added new tests.

  • All static analysis checks passed.

  • This pull request is on the master branch.

  • I used gofmt for formatting the code before submitting the pull request.


- Updated the error handling in the `updateServerDetails` method to log a warning if the ping to the target Artifactory fails, while allowing for the possibility of transferring to a new server.
- Added an informational log message for successful pings to enhance visibility during configuration updates.
- Commented out the lines for clearing refresh tokens to prevent accidental token misuse during transfers.
@haizafrog haizafrog requested a review from sverdlov93 March 22, 2026 16:52
@github-actions
Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@haizafrog haizafrog requested a review from amithins March 22, 2026 16:53
…iguration

- Eliminated commented-out lines related to clearing refresh tokens to streamline the code and reduce confusion.
- This change enhances code clarity while maintaining the existing functionality of the transfer configuration process.
@haizafrog haizafrog requested review from amithins and removed request for amithins and sverdlov93 March 24, 2026 09:52
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