Skip to content
Snippets Groups Projects
Commit 21e0772c authored by Roman Azarenko's avatar Roman Azarenko
Browse files

quickjs: remove console.log calls in async-mqtt.js

console.log outputs to stdout. This breaks CLI tools, which use stdout for outputting response JSON data.

QuickJS doesn't support console.warn/console.error. Printing to stderr can be achieved with `std.err.puts()` or
`std.err.printf()`.

Alternatively, this kind of output should be put behind a verbose/debug flag.
parent 7e285eb0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment