mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00
Merge pull request #2028 from mitnk/failback-tb
print out exception msg when do fail-back
This commit is contained in:
commit
39f72b9e86
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ def _failback_to_other_shells(argv, err):
|
|||
foreign_shell = line
|
||||
break
|
||||
if foreign_shell:
|
||||
traceback.print_tb(err.__traceback__)
|
||||
traceback.print_exc()
|
||||
print('Xonsh encountered an issue during launch', file=sys.stderr)
|
||||
print('Failback to {}'.format(foreign_shell), file=sys.stderr)
|
||||
os.execlp(foreign_shell, foreign_shell)
|
||||
|
|
Loading…
Add table
Reference in a new issue