Skip to content

fix: display errors#7

Merged
br-monteiro merged 2 commits into
mainfrom
fix/display-errors
Mar 17, 2026
Merged

fix: display errors#7
br-monteiro merged 2 commits into
mainfrom
fix/display-errors

Conversation

@br-monteiro

Copy link
Copy Markdown
Member

This pull request introduces improvements to debugging and error handling for the onecli tool, making it easier to diagnose issues during development while keeping user-facing errors clean in production.

Debugging and error handling improvements:

  • Added a ONECLI_DEBUG environment variable when running in development mode via the onecli shell script, enabling debug behavior in the Python CLI.
  • Updated the main entrypoint in onecli.py to catch exceptions and display user-friendly error messages, but re-raise exceptions with full tracebacks if ONECLI_DEBUG is set, aiding in debugging.

@br-monteiro br-monteiro self-assigned this Mar 17, 2026
@br-monteiro
br-monteiro merged commit b310756 into main Mar 17, 2026
1 check passed
@br-monteiro
br-monteiro deleted the fix/display-errors branch March 17, 2026 14:39
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.

1 participant