Skip to content

Commit 2c322ab

Browse files
Raise exception if fallback is not found (#2494)
Fixes #2290 ## Checklist - [/] I have added [tests](https://www.cursorless.org/docs/contributing/test-case-recorder/) - [/] I have updated the [docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and [cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet) - [/] I have not broken the cheatsheet
1 parent 0660bf5 commit 2c322ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/fallback.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def perform_fallback(fallback: dict):
5656
return action_callback()
5757
except ValueError as ex:
5858
actions.app.notify(str(ex))
59+
raise ex
5960

6061

6162
def get_action_callback(fallback: dict) -> Callable:

0 commit comments

Comments
 (0)