Skip to content

Commit

Permalink
add tracing info to MarkAsReadLocal
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaxim committed Mar 27, 2017
1 parent fd505df commit 5b5c4d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions go/service/chat_local.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5b5c4d1

Please sign in to comment.