debug cloud target error handling