Skip to content

Conversation

@rli
Copy link
Contributor

@rli rli commented Apr 24, 2025

After user selects a profile, if subsequent validation fails because of networking / etc, then we incorrectly clear their selected profile

License

I confirm that my contribution is made under the terms of the Apache 2.0 license.

@rli rli requested review from a team as code owners April 24, 2025 21:31
@github-actions
Copy link

github-actions bot commented Apr 24, 2025

Qodana Community for JVM

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

val profiles = tryOrNull {
val profiles = try {
listRegionProfiles(project)
} catch (_: Exception) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we catch network exceptions here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think the only exception acceptable to not catch is if they are not allowed to use Q

@rli rli merged commit 0b592d4 into main Apr 24, 2025
13 of 16 checks passed
@rli rli deleted the rli/action-items-on-list-fail branch April 24, 2025 23: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.

3 participants