Closed hkcrainer closed 1 year ago
got the same error
Adapter keeps crashing:
discovergy.0 | 2023-10-17 13:32:25.766 | error | Unexpected end of JSON input -- | -- | -- | -- discovergy.0 | 2023-10-17 13:32:25.765 | error | SyntaxError: Unexpected end of JSON input at JSON.parse (Adapter keeps crashing:
hmm that should not happen as the code is covered in an catch/try blog but log indeed indicate an complete code crash. Is the adapter restarting after this error or processing other data ?
@Claus1985 if the error occurs again, please set adapter log level to debug I added a log line to show API response
Today the Server of Discovergy is broken down. Discovergy Adapter kept green until reboot, but spams every second in Log.
Adapter Version: 0.5.8 Node.js: 18.17.1 NPM: 9.6.7
Best regards
hkc_rainer