How to find the breaking point?

Hello everybody,

running my bot last night, i got this error notification.
Is there any way to understand where it broke?
Maybe there is a way to figure out what line 208 is?
My server network has no orchestrator.
My bots are regulated by a Bot that starts each Flow at a specific time.
When a bot fails, I get an email notification.
This is the text received yesterday:
When a bot closes with error, if it is still scheduled, it restarts from the beginning.
The error in question is not cyclical.
When the bot started for the second time, the flow worked to completion.
But I would like to understand what it was that stopped him.

UiPath.Core.Activities.ActivityTimeoutException: Activity timeout exceeded at UiPath.Executor.WorkflowRunner.EndExecute(IAsyncResult result) in D:\a\1\s\Robot\UiPath.Executor\WorkflowRuntime.cs:line 208 at UiPath.Core.Activities.InvokeWorkflowFile.EndExecute(AsyncCodeActivityContext context, IAsyncResult result) at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result) at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)


Did we Try running in debug mode in studio by pressing F5 which will help us to know where it got failed or stuck


The mistake occurred last night.
After the first block, the bot restarted, and went from start to finish without a problem.
This morning, I found in the emails the notification of an error during execution.
Analyzing the flow with Debug, I believe that it does not lead to a solution, precisely because the problem may not arise.

From the code I can understand that this is a timeout activity … (I think).

Considering that the problem does not occur cyclically, I wanted to understand if I could locate the position 208 of the bot, somehow.

Fine then
Is there any log message added before to the activity where this exception occurred
Because if you see down the line in exception logs before to this exception message, there will other trace logs as well
So by chance if there were any logs added then we can trace the activity


Unfortunately, I’m not very familiar with Uipath.
Do you mean if I have prepared a log write in the W.flow?

like this?

If you mean this, unfortunately not.
Or rather, not yet.
I have been working on this project a few days ago and have not yet planned this operation in the flow.

If you mean anything else … I’m not aware of alternatives.

No worries
I was actually mentioning Log message activity
But I hope even this way of logging to a file will help us
Do you remember or aware of any log been added before to the activity where the exception occurred