Skip to content
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

Commit db6ec77

Browse files
committed
🚑 Hotfix missing argument in LocationGlobe err msg
1 parent 7fa92d2 commit db6ec77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/classes/locationGlobe.class.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class LocationGlobe {
8888
rawData += chunk;
8989
});
9090
res.on("end", () => {
91-
this.parseResponse(rawData, ip).catch(() => {
91+
this.parseResponse(rawData, ip).catch(e => {
9292
let electron = require("electron");
9393
electron.ipcRenderer.send("log", "note", "LocationGlobe: Error parsing data from ipinfo.now.sh");
9494
electron.ipcRenderer.send("log", "debug", `Error: ${e}`);

0 commit comments

Comments
 (0)