简体   繁体   中英

Get exceptions from Databricks Notebook in Azure Datafactory pipeline

I've added a Databricks Notebook to a Datafactory pipeline. If the Python script inside the notebook throws an exception, this exception will not be mentioned by the pipeline. I know there is a runPageUrl where I can see the results. But I want the pipeline to know if an error occurred in the Python script. Is there a way to pass exception information to the pipeline?

Found it. I just had to add assertion to the exceptions. Next step is to find out how to get the error message in the outcome of the activity in the pipeline...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM