We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a14af1 commit 5fffaf7Copy full SHA for 5fffaf7
jupyter_server/services/contents/filemanager.py
@@ -77,7 +77,7 @@ def _default_preferred_dir(self):
77
path = Path(value)
78
return path.relative_to(self.root_dir).as_posix()
79
except ValueError:
80
- raise TraitError("%s is outside root contents directory" % value)
+ raise TraitError("%s is outside root contents directory" % value) from None
81
return ""
82
83
@validate("preferred_dir")
0 commit comments