Update firebase error handling for more info & better handling
Compare changes
- Jonah Husson authored
+ 9
− 6
@@ -9,7 +9,6 @@
@@ -9,7 +9,6 @@
@@ -42,7 +41,7 @@ import (
@@ -42,7 +41,7 @@ import (
type NotifyFunc func(int64, *bytes.Buffer, *apns.ApnsComm, *firebase.FirebaseComm, *storage.Storage) error
@@ -185,7 +184,7 @@ func NewImplementation(instance *Impl) *notificationBot.Implementation {
@@ -185,7 +184,7 @@ func NewImplementation(instance *Impl) *notificationBot.Implementation {
func notifyUser(ephID int64, data *bytes.Buffer, apnsClient *apns.ApnsComm, fc *firebase.FirebaseComm, db *storage.Storage) error {
@@ -201,7 +200,11 @@ func notifyUser(ephID int64, data *bytes.Buffer, apnsClient *apns.ApnsComm, fc *
@@ -201,7 +200,11 @@ func notifyUser(ephID int64, data *bytes.Buffer, apnsClient *apns.ApnsComm, fc *
@@ -398,12 +401,12 @@ func (nb *Impl) Sender(sendFreq int) {
@@ -398,12 +401,12 @@ func (nb *Impl) Sender(sendFreq int) {