added error handling to coverage callbacks