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

deploy baobab-delegator-v0.0.1.20240423.0249.fc88b60 #319

Conversation

nick-bisonai
Copy link
Contributor

baobab-delegator-v0.0.1.20240423.0249.fc88b60

(Delegator) Use custom error handler instead of panic

Description

On returning error, it now uses custom error handler which returns in form of

return c.Status(code).SendString(err.Error())

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist before requesting a review

  • I have performed a self-review of my code.
  • If it is a core feature, I have added thorough tests.

Deployment

  • Should publish npm package
  • Should publish Docker image

Summary by CodeRabbit

  • Refactor
    • Improved error handling across various functions by replacing abrupt termination (panic) with error returns, enhancing system stability and user experience.
  • PR: 1401

@nick-bisonai nick-bisonai merged commit a76977c into gcp-baobab-prod Apr 23, 2024
1 check passed
@nick-bisonai nick-bisonai deleted the deploy/baobab-delegator-v0.0.1.20240423.0249.fc88b60 branch April 23, 2024 03:02
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