We have created one python script and we are invoking that python script through ‘invoke PowerShell’ activity of UiPath But, when the python script is failing we are not getting any error message in UiPath. So, please let me know how to call & get error message of Python script in UiPath.
As @loginerror mentioned using python activities is better
If you dont want to then better use try catch in python and write the error to a file or console and then you can get the response or read the file for errors