`

exception_notification

阅读更多
1 applicattion.rb 配置
  
 include ExceptionNotifiable
  consider_local "127.0.0.1", "192.168.1.109"


2  environment.rb

  ExceptionNotifier.sender_address = %("Project Application Error" <email@email.com>)
ExceptionNotifier.email_prefix = "[Project Error] "
ExceptionNotifier.exception_recipients = %w(email@email.com)
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics