Fix error handling for sending notices

Typo. Oops.