Missing HKCU registry value
RobsonMi opened this issue · comments
RobsonM commented
Barry Carlyon commented
why would it need to check SimConnect port in registry?
In case it's not on the default port. So it's trying to determine automatically the port.
RobsonM commented
Any way I can catch the error thrown in Utils.ts at line 21?
throw Error(`Failed to read registry value ${FS_KEY} (${err})`);
Barry Carlyon commented
In lieu of a "module fix to make it graceful catch"
process.on('uncaughtException', err => {
console.error('uncaughtException', err);
});
might catch it, if the log is saying it's a uncaught exception
RobsonM commented
That's not graceful at all. No idea what's the best solution here but surely not that error message ;) Maybe simple console.error with info that default will be used?
Even Rognlien commented
This should have been fixed now in v3.0.5 (thanks for the PR @RobsonMi)