Only console.error when there's actually an error