We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We're calling discover the following way where this._wemo is the wemo client instance without any specific options:
this._wemo
this._wemo.discover((error, deviceInfo) => { ... });
From time to time, not always, according to our logs, this has the error parameter set with the error:
error
Non-whitespace before first tag
This seems to come from xml2js: Leonidas-from-XIV/node-xml2js#345 Leonidas-from-XIV/node-xml2js#390
Unfortunately I can't reproduce this reliably so I can't really debug it.
The text was updated successfully, but these errors were encountered:
Maybe https://www.screenaware.com/en/blog/xml2js-sax-js-non-whitespace-before-first-tag (found it in the node-xml2js) is a work around?
Sorry, something went wrong.
@MichaelKohler Does that apply to specific Wemo devices?
I honestly can't say, @neophob what do you think?
wondering if it would help to trim some values beforehand somewhere...
No branches or pull requests
We're calling discover the following way where
this._wemo
is the wemo client instance without any specific options:From time to time, not always, according to our logs, this has the
error
parameter set with the error:This seems to come from xml2js:
Leonidas-from-XIV/node-xml2js#345
Leonidas-from-XIV/node-xml2js#390
Unfortunately I can't reproduce this reliably so I can't really debug it.
The text was updated successfully, but these errors were encountered: