Document use of process.stderr.write() vs console.error()
Open
backend
documentation
- Dominant language
- JavaScript
- Stars
- 226
- Forks
- 235
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 19
Description
In this repo, `process.stderr.write(util.inspect(arg) + '\n')` is preferred over `console.error(arg)`.
Per https://github.com/getodk/central-backend/pull/1414#issuecomment-2669993120, there are reasons `process.stderr.write(util.inspect(arg) + '\n')` is used, but they are not known.
It would be helpful to have this reasoning documented somewhere, as it would seem more idiomatic to use `console.error(arg)`.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.