diff options
author | Pierre de La Morinerie <kemenaran@gmail.com> | 2018-02-06 10:57:34 +0530 |
---|---|---|
committer | Chris <ccbrown112@gmail.com> | 2018-02-05 23:27:34 -0600 |
commit | 034dbc07e3068c482e654b6a1a8fcbe4b01c44f3 (patch) | |
tree | 338bac5ef5795901f1c04718c0cc9b3330bdaa52 /utils/mail.go | |
parent | 323d717a402c4407ca14c8b94b5eebf861ccf44a (diff) | |
download | chat-034dbc07e3068c482e654b6a1a8fcbe4b01c44f3.tar.gz chat-034dbc07e3068c482e654b6a1a8fcbe4b01c44f3.tar.bz2 chat-034dbc07e3068c482e654b6a1a8fcbe4b01c44f3.zip |
handle RateLimiter initialization errors (#8199)
Previously, an error occuring in NewRateLimiter would return a nil
reference – which would be de-referenced just after, making the server
crash.
Diffstat (limited to 'utils/mail.go')
0 files changed, 0 insertions, 0 deletions