FEATURE: add pop3 timeouts and auth errors to admin dashboard. Admins will get notified along with other problems.

This commit is contained in:
Neil Lalonde
2016-04-08 17:33:47 -04:00
parent 9c934e27be
commit 7f0b1691c4
3 changed files with 10 additions and 1 deletions

View File

@ -83,7 +83,12 @@ class AdminDashboardData
def self.reset_problem_checks
@problem_syms = []
@problem_blocks = []
@problem_messages = ['dashboard.bad_favicon_url']
@problem_messages = [
'dashboard.bad_favicon_url',
'dashboard.poll_pop3_timeout',
'dashboard.poll_pop3_auth_error'
]
add_problem_check :rails_env_check, :ruby_version_check, :host_names_check,
:gc_checks, :ram_check, :google_oauth2_config_check,