Skip to content

Commit de4f5a7

Browse files
committed
remove uneccessary error explanation
1 parent b141389 commit de4f5a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jupyter_drives/manager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ async def mount_drive(self, drive_name, provider):
319319
except Exception as e:
320320
raise tornado.web.HTTPError(
321321
status_code= httpx.codes.BAD_REQUEST,
322-
reason= f"The following error occured when mouting the drive: {e}"
322+
reason= f"{e}"
323323
)
324324

325325
return
@@ -771,7 +771,7 @@ async def _get_drive_location(self, drive_name):
771771
except Exception as e:
772772
raise tornado.web.HTTPError(
773773
status_code= httpx.codes.BAD_REQUEST,
774-
reason=f"The following error occured when retriving the drive location: {e}",
774+
reason=f"{e}",
775775
)
776776

777777
return location

0 commit comments

Comments
 (0)