Skip to content

feat/add error codes mapped to ingest library #38

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

Merged
merged 2 commits into from
Jan 8, 2025

Conversation

rbiseck3
Copy link
Collaborator

@rbiseck3 rbiseck3 commented Jan 8, 2025

Description

Map the new error types that can potentially come from ingest into http error codes and pass those in the response.

Copy link
Contributor

@vangheem vangheem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe you missed a commit?

@@ -186,12 +187,14 @@ async def _stream_response():
)
except Exception as invoke_error:
logger.error(f"failed to invoke plugin: {invoke_error}", exc_info=True)
print(type(invoke_error))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't want these prints right?

@rbiseck3 rbiseck3 merged commit 96bf60d into main Jan 8, 2025
7 checks passed
@rbiseck3 rbiseck3 deleted the roman/granular-http-error-codes branch January 8, 2025 13:57
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.

2 participants