From 5b5c4d14c70b9c3914c3280b97b04238f811c9ea Mon Sep 17 00:00:00 2001 From: Mike Maxim Date: Mon, 27 Mar 2017 18:11:52 -0400 Subject: [PATCH] add tracing info to MarkAsReadLocal --- go/service/chat_local.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/go/service/chat_local.go b/go/service/chat_local.go index 4814a594482b..01cca376b3b3 100644 --- a/go/service/chat_local.go +++ b/go/service/chat_local.go @@ -150,6 +150,8 @@ func (h *chatLocalHandler) GetInboxNonblockLocal(ctx context.Context, arg chat1. } func (h *chatLocalHandler) MarkAsReadLocal(ctx context.Context, arg chat1.MarkAsReadLocalArg) (res chat1.MarkAsReadRes, err error) { + var identBreaks []keybase1.TLFIdentifyFailure + ctx = chat.Context(ctx, keybase1.TLFIdentifyBehavior_CHAT_GUI, &identBreaks, h.identNotifier) defer h.Trace(ctx, func() error { return err }, "MarkAsReadLocal")() if err = h.assertLoggedIn(ctx); err != nil { return chat1.MarkAsReadRes{}, err