Error handling 尝试获取输出消息时发生ADF错误

Error handling 尝试获取输出消息时发生ADF错误,error-handling,azure-data-factory,Error Handling,Azure Data Factory,执行时,我得到以下错误 Error { "errorCode": "BadRequest", "message": "Activity parent-control-sp failed: JSON text is not properly formatted. Unexpected character '\"' is found at position 0.", "failureType": "UserError", "target": "Execute pare

执行时,我得到以下错误

Error
{
    "errorCode": "BadRequest",
    "message": "Activity parent-control-sp failed: JSON text is not properly formatted. Unexpected character '\"' is found at position 0.",
    "failureType": "UserError",
    "target": "Execute parent Pipeline"
}
我希望在错误表中显示以下消息

活动父控件sp失败:JSON文本不正确 格式化。在位置0处发现意外字符“\”。, failureType:UserError,目标:执行父管道}

我使用了@{activity'activity parent control sp'.error.message}。它正在显示以下消息

JSON文本格式不正确。意外字符“\”为空 在位置0处找到,failureType:UserError,目标:Execute 父管道}


如何获取上面的消息?

我相信您正在尝试使用“执行管道”活动,并且在这一点上,您希望捕获子活动中的任何错误。我认为下面的表达应该对你有帮助

@concatactivity'Pipeline1'。错误。消息,'failureType:',活动'Pipeline1'。错误。failureType