require 'etc'
require 'socket'

ExceptionNotifier.configure_exception_notifier do |c|
  c[:exception_recipients] = [SECRETS.administrator_email]
  c[:sender_address] = "#{Etc.getlogin}@#{Socket.gethostname}"
  c[:subject_prepend] = "[ERROR #{SETTINGS.name}] "
  c[:skip_local_notification]  = false
end

require 'etc'
require 'socket'

ExceptionNotifier.configure_exception_notifier do |c|
  c[:exception_recipients] = [SECRETS.administrator_email]
  c[:sender_address] = "#{SECRETS.administrator_email}"
  c[:subject_prepend] = "[ERROR #{SETTINGS.name}] "
  c[:skip_local_notification]  = false
end

Send exception notification from same address its sent to, so it can be replied to.
Send exception notification from same address its sent to, so it can be replied to.
