Some places were still logging errors to the stdout