Repository navigation
FIX: Downgrade log message when error occurs in ansysedt session search loop - #6853
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6853 +/- ##
==========================================
+ Coverage 83.28% 83.48% +0.20%
==========================================
Files 245 245
Lines 77681 77681
==========================================
+ Hits 64694 64851 +157
+ Misses 12987 12830 -157 🚀 New features to boost your workflow:
|
Downgrade log message when an error occurs while iterating processes to search for ansysedt sessions. Rationale: 1. If any error occurs during the ansysedt session search process loop, the end result is that the process in question is not returned as a potential ansysedt session. This is generally not harmful. 2. There is nothing the user could have done to make the error not occur: they have no control over the processes on the machine, the behavior of `psutil`, or the logic in this loop. 3. Downgrading to debug allows us to also log the full stack trace of the exception, allowing us to identify fixes to the logic for cases that fail in the future.
isaacwaldron
force-pushed
the
issue-6852
branch
from
November 7, 2025 14:29
e2b9f32 to
74dbbba
Compare
SMoraisAnsys
approved these changes
Nov 10, 2025
SMoraisAnsys
left a comment
Collaborator
There was a problem hiding this comment.
LGTM. From users' POV I think that this message is really confusing and doesn't bring much value for them when it is appearing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Downgrade log message when an error occurs while iterating processes to search for ansysedt sessions. Rationale:
psutil, or the logic in this loop.Closes #6852
Description
Please provide a brief description of the changes made in this pull request.
Issue linked
Please mention the issue number or describe the problem this pull request addresses.
Checklist