Skip to content

Commit 01b7693

Browse files
committed
Fix error handling for write requests
1 parent 977f2b0 commit 01b7693

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

plugins/plugin-http-shell/src/lib/cmds/requests.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,6 @@ export async function urlFile(
144144
return ret;
145145
})
146146
.catch((error: ResponseError) => {
147-
const win = new BrowserWindow();
148-
win.webContents.openDevTools();
149-
150147
const method = error.response
151148
? error.response["req"]
152149
? error.response["req"]["method"]

0 commit comments

Comments
 (0)