mirror of
https://github.com/louislam/dockge.git
synced 2026-05-21 22:12:17 +00:00
Fix backend typescript issues
This commit is contained in:
@@ -38,10 +38,12 @@ export class TerminalSocketHandler extends SocketHandler {
|
||||
throw new Error("Terminal not found or it is not a Interactive Terminal.");
|
||||
}
|
||||
} catch (e) {
|
||||
errorCallback({
|
||||
ok: false,
|
||||
msg: e.message,
|
||||
});
|
||||
if (e instanceof Error) {
|
||||
errorCallback({
|
||||
ok: false,
|
||||
msg: e.message,
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user