I have a job (arcpy script) which relies on a query layer but it fails sometimes. It has to do with the query layer connection (the point where job fails randomly)- which is totally under the control of ORACLE team. I want to capture this to discuss with ORACLE team. What should be the right layer property to capture this?
I've run into some issues with a few different tools failing because of Oracle connection problems. The workaround has been to wrap whatever process is failing in a try...except block and call it again if needed.