##// END OF EJS Templates
Swallow potential exceptions from showtraceback()...
Jacob Evan Shreve -
Show More
@@ -3013,7 +3013,7 b' class InteractiveShell(SingletonConfigurable):'
3013 runner = _pseudo_sync_runner
3013 runner = _pseudo_sync_runner
3014
3014
3015 try:
3015 try:
3016 return runner(coro)
3016 result = runner(coro)
3017 except BaseException as e:
3017 except BaseException as e:
3018 info = ExecutionInfo(
3018 info = ExecutionInfo(
3019 raw_cell, store_history, silent, shell_futures, cell_id
3019 raw_cell, store_history, silent, shell_futures, cell_id
@@ -3021,6 +3021,7 b' class InteractiveShell(SingletonConfigurable):'
3021 result = ExecutionResult(info)
3021 result = ExecutionResult(info)
3022 result.error_in_exec = e
3022 result.error_in_exec = e
3023 self.showtraceback(running_compiled_code=True)
3023 self.showtraceback(running_compiled_code=True)
3024 finally:
3024 return result
3025 return result
3025
3026
3026 def should_run_async(
3027 def should_run_async(
General Comments 0
You need to be logged in to leave comments. Login now