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: introduce standardized error messages and stacktraces #869

Merged
merged 5 commits into from
Aug 8, 2024

Commits on Aug 7, 2024

  1. refactor: introduce standardized error messages

    Introduces `[INFO]`, `[WARN]`, and `[ERROR]` prefixes to error messages to make them easier to read and understand when debugging. The hope is that we remain consistent with this formatting across the codebase.
    
    Ticket: DX-660
    anshchaturvedi committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    d26530c View commit details
    Browse the repository at this point in the history
  2. feat: add errorLeft wrapper

    This adds a stacktrace as a string alongside the message passed to the E.left.
    
    Ticket: DX-660
    anshchaturvedi committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    9da4c52 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    96a906a View commit details
    Browse the repository at this point in the history
  4. fix: strip stacktrace off of actual errors in tests

    Adds a utility function to strip stacktraces off of errors since they
    are machine/platform dependent and cannot hard-code them into tests.
    
    Ticket: DX-660
    anshchaturvedi committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    c11dc0e View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2024

  1. Configuration menu
    Copy the full SHA
    60218da View commit details
    Browse the repository at this point in the history