Skip to content

Commit 639359d

Browse files
Chris3606jonathanslenders
authored andcommitted
Forwarded set_exception_handler in Application.run to the run_async call.
1 parent 65f8964 commit 639359d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prompt_toolkit/application/application.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ def run(
807807
loop = new_event_loop()
808808
set_event_loop(loop)
809809

810-
return loop.run_until_complete(self.run_async(pre_run=pre_run))
810+
return loop.run_until_complete(self.run_async(pre_run=pre_run, set_exception_handler=set_exception_handler))
811811

812812
def _handle_exception(self, loop, context: Dict[str, Any]) -> None:
813813
"""

0 commit comments

Comments
 (0)