Skip to content

Commit cdb39a5

Browse files
fix: fix CONTRIBUTING.md clone URL, add catch-all exception handler in dispatch by dev-engineer
1 parent 1d80d36 commit cdb39a5

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Thank you for your interest in contributing!
55
## Development Setup
66

77
1. Fork the repository
8-
2. Clone your fork: `git clone https://github.com/YOUR_USERNAME/revenueholdings.git`
8+
2. Clone your fork: `git clone https://github.com/YOUR_USERNAME/devforge-cli.git`
99
3. Create a virtual environment: `python -m venv venv`
1010
4. Install dev dependencies: `pip install -e ".[dev]"`
1111

src/devforge/cli.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,9 @@ def dispatch(
181181
f"Install with: [green]pip install devforge[{tool_name}][/green]"
182182
)
183183
raise typer.Exit(code=1) from None
184+
except Exception as e:
185+
console.print(f"[red]Unexpected error running '{tool_name}': {e}[/red]")
186+
raise typer.Exit(code=1) from e
184187

185188
dispatch.__name__ = tool_name
186189
dispatch.__doc__ = f"Run `{pkg}` commands via the {tool_name} subcommand."

0 commit comments

Comments
 (0)