Write err in console