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

Include the Sim Error Activity Type Stack trace #1518

Merged
merged 5 commits into from
Jul 29, 2024

Conversation

goetzrrGit
Copy link
Contributor

Description

This PR provides more detailed error information and improves debugging capabilities for Clipper. The error message includes the name of the affected activity type and provides a stack trace-like representation of the activity type hierarchy when errors occur in child activities.

{
  "utcTimeDoy": "2023-001T01:02:00",
  "elapsedTime": "01:02:00.000000",
  "activityStackTrace": 

        "DaemonTaskActivity
        |-DaemonCheckerSpawner
        |--DaemonCheckerActivity",

  "executingDirectiveId": 5,
  "executingActivityType": "DaemonTaskActivity"
}

Verification

e2e test pass and I am including a new parent activity, which will be used to spawn children 2 levels deep. This allows for the error message to have a more detailed stack trace.

@goetzrrGit goetzrrGit force-pushed the feature/sim_error_stacktrace branch from 9393185 to f3e4ed3 Compare July 25, 2024 19:33
* Added effected activity type
* Added a stack trace showing that hierarchy
* Create a Parent Activity, which will be used to spawn children 2 levels deep. This allows for the error message to have a more detail stacktrace
* Look for the stacktrace and effected activity within the error message.
@goetzrrGit goetzrrGit force-pushed the feature/sim_error_stacktrace branch from f3e4ed3 to 3cff3f4 Compare July 29, 2024 18:17
…ngine/SimulationEngine.java


minor update with spacing

Co-authored-by: Mythicaeda <[email protected]>
@goetzrrGit goetzrrGit merged commit 8fb119b into develop Jul 29, 2024
6 checks passed
@goetzrrGit goetzrrGit deleted the feature/sim_error_stacktrace branch July 29, 2024 19:16
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.

Include activity names + activity hierarchy with sim error messages
3 participants