Update src/networkStats.ts
This commit is contained in:
parent
f676a20332
commit
156073a407
@ -60,7 +60,7 @@ export const simulatePing = async () => {
|
||||
});
|
||||
const endTime = new Date().getTime();
|
||||
return endTime - startTime;
|
||||
} catch (e) {
|
||||
} catch (error) {
|
||||
return -1;
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user