Getting issue on my custom CONNECTORS

WorkerSinkTask{id=ID} Task threw an uncaught and unrecoverable exception. Task is being killed and will not recover until manually restarted
Tolerance exceeded in error handler

I created a custom plugin now its failing again and again how to debug it as i can only see this error nothing else