Adding a log statement should we fail to retrieve notifications.

Fixes #1170