Error Logs / Failure logs for Client Scripts Functions

Error Logs / Failure logs for Client Scripts Functions

Hi Team,

While we are implementing client scripts for the automation, it is working fine in few accounts but not working for others.

So, it would be great if we can have error Logs for client scripts also just like custom functions.

Is there any way that we can know about the session errors for client scripts code?