Fixed the push-notification issues.
Added error logs on push notif fail.
Merge pull request #369 from scrollback/pushnotiffixes

Pushnotiffixes