Don't log errors when testing