Skip to content

Commit 084f063

Browse files
committed
error handling for listing drives
1 parent 7fb06f7 commit 084f063

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ const drivesListProvider: JupyterFrontEndPlugin<IDriveInfo[]> = {
172172
mounted: drive.mounted
173173
});
174174
}
175-
} catch {
176-
console.log('Failed loading available drives list.');
175+
} catch (error) {
176+
console.log('Failed loading available drives list, with error: ', error);
177177
}
178178
return drives;
179179
}

0 commit comments

Comments
 (0)