We now have a small utility to log errors