parent
054d800f19
commit
79f489bd28
|
@ -135,8 +135,7 @@ func BigTableWriter(events *AttestationEventReporter, connectionConfig *BigTable
|
||||||
publishResult := pubsubTopic.Publish(ctx, &pubsub.Message{
|
publishResult := pubsubTopic.Publish(ctx, &pubsub.Message{
|
||||||
Data: []byte(b),
|
Data: []byte(b),
|
||||||
})
|
})
|
||||||
_, err = publishResult.Get(ctx)
|
if _, err = publishResult.Get(ctx); err != nil {
|
||||||
if err != nil {
|
|
||||||
logger.Error("Failed getting GCP PubSub publish reciept",
|
logger.Error("Failed getting GCP PubSub publish reciept",
|
||||||
zap.String("rowKey", rowKey),
|
zap.String("rowKey", rowKey),
|
||||||
zap.Error(err))
|
zap.Error(err))
|
||||||
|
|
Loading…
Reference in New Issue