Skip to content

TS-43260 Profiler crash fix in case of invalid config options#882

Open
stahlbauer wants to merge 1 commit intomasterfrom
ts/43260_profiler_crash_after_missconfig
Open

TS-43260 Profiler crash fix in case of invalid config options#882
stahlbauer wants to merge 1 commit intomasterfrom
ts/43260_profiler_crash_after_missconfig

Conversation

@stahlbauer
Copy link
Copy Markdown
Contributor

Addresses issue TS-43260

  • Changes are tested adequately
  • CHANGELOG.md updated

Please respect the vote of the Teamscale bot or flag irrelevant findings as tolerated or false positives. If you feel that the Teamscale config needs adjustment, please state so in a comment and discuss this with your reviewer.

Comment on lines +100 to +102
// Don't crash the profiled application due to a configuration error
// (see TS-43260). The error has already been logged in getAndApplyAgentOptions.
return;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The TI team discussed the topic and came to the (surprising) decision, that the agent should never crash the profiled application even if the agent is configured incorrectly. Can you please adjust the other places where we currently re-throw exceptions, document this decision in the code and adjust the tests if necessary.

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