sugar_die should throw an exception

Idea created by FEDERICO SAMMARTIN on Oct 29, 2015
    Active
    Score10
    • FEDERICO  SAMMARTIN
    • Romney Lai
    Hello everyone, is there a plan to change sugar_die (and other fatal errors) to exceptions? so we can catch exceptions in integrations and schedulers without worrying about not get to the end of our scripts?

    i just checked, exceptions were added in php 5.1, sugar 7 support starts from php 5.3, so there shouldn't be any support problems..