Get an error message with batch file run

Hi all!
When i run robot from Studio by pressing Debug button and something goes wrong, error message appears in Studio. But when i run attended robot from batch file and it crashes, only command prompt closes.
Is there any way to get an error message to a file when attended robot from batch crashes?

Hi @ilya_40in ,

Could you try checking for the Execution Log file in the path below :

C:\Users\[Username]\AppData\Local\UiPath\Logs