is push_notification possibly reraising? if so, please catch the specific exception. alternatively, push_notification could return a boolean success/fail value and remove this try/except