feat: surface Langflow error messages to users#9
Merged
Conversation
…n encryption key Replace generic "Sorry, an error occurred" with actual error messages from Langflow and the backend. Preserve partial streamed content when errors occur mid-stream. Use PatternFly Alert error prop and extraContent for clean rendering with retry support. Also auto-generate TOKEN_ENCRYPTION_KEY for local dev so OAuth integrations work without manual configuration, and default .env.example to development mode with OAuth enabled. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Message.errorprop andextraContent.afterMainContentfor clean error rendering with inline retryTOKEN_ENCRYPTION_KEYfor local dev so OAuth integrations (Google Drive, Dataverse) work without manual config.env.exampletoENVIRONMENT=developmentwith OAuth enabledTest plan
make test-frontend— 22 tests pass (3 new error scenario tests), lint + typecheck cleanmake test-backend— 209 tests pass, including updated encryption testsTOKEN_ENCRYPTION_KEYset, confirm OAuth integrations still work🤖 Generated with Claude Code