Print init and cleanup function name if it fails