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

refactor: CliError does not need e_stack property. #8179

Merged
merged 2 commits into from
Oct 23, 2023
Merged

Conversation

ioga
Copy link
Contributor

@ioga ioga commented Oct 17, 2023

Description

CliError.e_stack is not used. whenever DET_DEBUG=1 is set, the original exception traceback will be printed anyway thanks to python capturing the original exception automatically.

Test Plan

Commentary (optional)

Checklist

  • Changes have been manually QA'd
  • User-facing API changes need the "User-facing API Change" label.
  • Release notes should be added as a separate file under docs/release-notes/.
    See Release Note for details.
  • Licenses should be included for new code which was copied and/or modified from any external code.

Ticket

@ioga ioga requested a review from a team as a code owner October 17, 2023 19:06
@cla-bot cla-bot bot added the cla-signed label Oct 17, 2023
@netlify
Copy link

netlify bot commented Oct 17, 2023

Deploy Preview for determined-ui canceled.

Name Link
🔨 Latest commit e351f2d
🔍 Latest deploy log https://app.netlify.com/sites/determined-ui/deploys/652ede6875542100084e2de8

@ioga ioga merged commit 54551c5 into main Oct 23, 2023
68 of 81 checks passed
@ioga ioga deleted the refactor-clierror-stack branch October 23, 2023 18:09
@dannysauer dannysauer added this to the 0.26.3 milestone Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants