CAMEL-23623: Add Errors tab to Camel TUI#23573
Merged
Merged
Conversation
Add a new Errors tab (key 0) showing captured routing errors from the ErrorRegistry in a master/detail layout. The master table displays AGO, ROUTE, NODE, HANDLED, EXCEPTION and MESSAGE columns. The detail pane shows exchange info, exception with stack trace, message history, variables, properties, headers and body with scrolling support. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Separate error data into dedicated {pid}-error.json file to keep status file lightweight
- Status file only contains error metadata (count); full data loaded on demand when Errors tab is active
- Add master/detail layout with sortable table (ID, AGO, ROUTE, NODE, HANDLED, EXCEPTION, MESSAGE)
- Detail pane shows exception with unescaped stack trace, message history, properties, variables, headers, body
- Add toggles: f=handled filter, p=properties, v=variables, h=headers, b=body, w=word-wrap, s=sort
- Add Home/End keys for jumping to top/bottom of detail pane
- Fix word-wrap content height underestimation in renderDetailPanel that prevented scrolling to bottom
- Update camel get error CLI to read from separate error file
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Move Errors tab next to Inspect (History), and Consumers to last. New order: Overview, Log, Routes, Endpoints, HTTP, Health, Inspect, Errors, Circuit Breaker, Consumers. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
|
🌟 Thank you for your contribution to the Apache Camel project! 🌟 🐫 Apache Camel Committers, please review the following items:
|
Contributor
|
🧪 CI tested the following changed modules:
💡 Manual integration tests recommended:
All tested modules (8 modules)
|
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
{pid}-error.jsonfile to keep status file lightweight — status file only contains error count for badge display, full data loaded on demandcamel get errorCLI to read from the separate error filerenderDetailPanelthat prevented scrolling to the bottom of detail panesErrors Tab Features
skey to cycle,Sto reverse)fhandled filter [all/true/false],pproperties,vvariables,hheaders,bbody,wword-wrapPgUp/PgDnscroll detail,Home/Endtop/bottom,←→horizontal scroll (when wrap off)Test plan
8to switch to Errors tabcamel get errorCLI still works correctlyClaude Code on behalf of Claus Ibsen
🤖 Generated with Claude Code