In main class there are some exit calls, but this seems to be not so good solution. I just had to change it in my project. Most simpe solution would be replacing exit => throw new Exception and done. That adds possibility to handle errors in my code however I want.
In main class there are some exit calls, but this seems to be not so good solution. I just had to change it in my project. Most simpe solution would be replacing exit => throw new Exception and done. That adds possibility to handle errors in my code however I want.