Print error to stderr instead of using log