Will now log errors too