thanks for reply, In my deployed worker It shows many internal errors and also when I debug it locally, when I do put code blocks into
try{}catch{}
try{}catch{}
also it doesn't work and the internal errors are not caught and have not informative message to fix the bug, It only shows Internal error message nothing else.