Log exeptions when notifications fail and fix typo.