These are chat archives for PHPixie/Hotline

May 2016
May 07 2016 21:44
I feel this is a really simple/silly question, but I am obviously missing something. I wrote a web application in 2.x. How do I suppress the trace or catch the error myself? I want to test imap_open, however, if it fails, it kills the app instead of letting me handle it. @imap_open, imap_errors() & imap_alerts() don't help.
Roman Tsiupa
May 07 2016 23:03
use try{} catch
}catch(\Exception $e) {
    echo "Failed: ".$e->getMessage();