Never use stdout or stderr. Add a logger and log.error.