function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
harryZharryZ 

Can anyone tells me why the batch apex failed?

I'm tracking the AsyncApexJob object after execute the batch apex, and it says the execution is failed. Can anyone tell me how to get more detailed exception message in batch apex?

 

BTW, I've run the same code in test method and there is no exception.

NaishadhNaishadh

Hi,

 

Still it is a pilot project, so currently there is no way to see detail debug log for apex batch.

srisomsrisom
You probably need to post some of the code..