Yii Framework Forum: Email upon fatal error - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Email upon fatal error

#1 User is offline   Chaim L 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 6
  • Joined: 12-February 14

Posted 17 July 2017 - 04:10 AM

I would like to fire off an email alert whenever there is a fatal error on my site.

Does anybody know of an elegant way to do this via the Yii2 built-in error handling mechanism? I took a look through the source code and there didn't seem to me like any obvious way to do this.
0

#2 User is online   tri 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 1,824
  • Joined: 20-November 08
  • Location:Stockholm, Sweden

Posted 17 July 2017 - 05:10 AM

/* moved to general discussions */

have a look here
Don't forget to read The Definitive Guide to Yii (1.1 en) (1.1 sv) (2.0 en) | The class reference (1.1) (2.0) has the details
1

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users