sw-exporter
sw-exporter copied to clipboard
[BUG] Proxy error happening randomly in Steam mode
Please don't report issues that are not relevant to SWEX. Especially now that are more steps involved which you can read on reddit. To get more information, join the Discord.
Describe the bug For some people, an error can occur when in Steam mode. The error usually persists and displays every x seconds
To Reproduce Steps to reproduce the behavior:
Not quite sure.
Expected behavior Error not happening.
Screenshots
This is likely caused by the DNS resolver.
https://github.com/Xzandro/sw-exporter/blob/9c5c8b97c27fd9d7e3c37846e4ab28ae106a44fb/app/proxy/SWProxy.js#L159
SOmethind like this could help:
if (result !== undefined) {
result = result[0]
}
callback(err, result, 4)