[obs-commits] [openSUSE/open-build-service] 1f259e: [webui] Rescue `mail` callbacks in `EventMailer`
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 1f259e35d4eb6c866163530de29ae22bb39204b6 https://github.com/openSUSE/open-build-service/commit/1f259e35d4eb6c86616353... Author: Eduardo Navarro <enavarro@suse.com> Date: 2018-03-23 (Fri, 23 Mar 2018) Changed paths: M src/api/app/mailers/event_mailer.rb Log Message: ----------- [webui] Rescue `mail` callbacks in `EventMailer` As there is no information regarding the parameters that cause an `ArgumentError` exception in the `mail` callback in `EventMailer`, this exception is catched. It will only log the parameters to the error log, and then will re-raise the exception. This will help to know the reasons `ArgumentError` exception is thrown and therefore help to fix #4052. Co-authored-by: David Kang <dkang@suse.com> Commit: 6f39442d1b15049cc732fc3f205085336b7607b1 https://github.com/openSUSE/open-build-service/commit/6f39442d1b15049cc732fc... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2018-03-26 (Mon, 26 Mar 2018) Changed paths: M src/api/app/mailers/event_mailer.rb Log Message: ----------- Merge pull request #4728 from eduardoj/catch_mailer_mail_exception [webui] Rescue mail callbacks in EventMailer Compare: https://github.com/openSUSE/open-build-service/compare/66c261a6ca5e...6f3944...
participants (1)
-
Henne Vogelsang