Error logging in CBL

Hi! I have written a lot of methods in custom business logic(JAVA) and sometimes I get errors during execution(timeout,ThreadDead). Can I log this errors in all methods using Backendless Logger or I should add try/catch block and put Logger in catch section? I have suggestion that when I get ThreadDead I can’t log anything, I’m right?
Thanks in advance!

Hi Oleh,

I believe you should better catch the exceptions and the log them.