Skip to content

Commit b339cb1

Browse files
authored
Correct debug msg
1 parent d340c80 commit b339cb1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jupyter_server/terminal/api_handlers.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,10 @@ def post(self):
3838
cwd = None
3939

4040
if cwd is None:
41+
server_root_dir = self.settings["server_root_dir"]
4142
self.log.debug(
42-
f"Failed to find requested terminal cwd: {data.get('cwd')}\n It was not found within the server root neither: {cwd.resolve()!s}."
43+
f"Failed to find requested terminal cwd: {data.get('cwd')}\n"
44+
f" It was not found within the server root neither: {server_root_dir}."
4345
)
4446
del data["cwd"]
4547
else:

0 commit comments

Comments
 (0)