diff options
author | Maxim Devaev <[email protected]> | 2024-09-18 04:37:43 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2024-09-18 04:37:43 +0300 |
commit | 7a53f1445619fc471c2823e7081de8b6039b938e (patch) | |
tree | 961dd0072cc976504fe4570743d801c79512e9a6 /web/share/js/kvm/session.js | |
parent | 45270a09d7b5076bac96887a1e36d752882e3adf (diff) |
refactoring
Diffstat (limited to 'web/share/js/kvm/session.js')
-rw-r--r-- | web/share/js/kvm/session.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/share/js/kvm/session.js b/web/share/js/kvm/session.js index a183b33e..98070927 100644 --- a/web/share/js/kvm/session.js +++ b/web/share/js/kvm/session.js @@ -411,8 +411,8 @@ export function Session() { throw new Error("Too many missed heartbeats"); } __ws.send("{\"event_type\": \"ping\", \"event\": {}}"); - } catch (err) { - __wsErrorHandler(err.message); + } catch (ex) { + __wsErrorHandler(ex.message); } }; |