Catch undefined callback