Define error callback to log errors not mapped to requests