Custom business logic sometimes not working
1. Code stops working in production
I have an afterPublish handler on all the channels (*). When I deploy it in debug after each execution it throws a kind of SSL exception in the CodeRunner console, but when published it works just ok for a time.
After a time it stops working. I found out that it stops working after I access the Business Logic tab in the development console.
2. Code does not run at all
I tried to add another handler (an afterCreate handler on a table) but it does not run at all. When I connect the remote debugger and place a breakpoint inside the method it does not hit that breakpoint.
Can you please help solving these two issues?