Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b8cfbfe

Browse files
authored
Merge pull request #10258 from Carreau/autoreload-10-trace
Bump stack number on autoreload fail to 10.
2 parents 3ce26ed + 2936a83 commit b8cfbfe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

IPython/extensions/autoreload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def check(self, check_all=False, do_reload=True):
252252
del self.failed[py_filename]
253253
except:
254254
print("[autoreload of %s failed: %s]" % (
255-
modname, traceback.format_exc(1)), file=sys.stderr)
255+
modname, traceback.format_exc(10)), file=sys.stderr)
256256
self.failed[py_filename] = pymtime
257257

258258
#------------------------------------------------------------------------------

0 commit comments

Comments
 (0)