From 4b229b295de123829dc23870f4358eda124c76cc Mon Sep 17 00:00:00 2001 From: Valentin Krasontovitsch Date: Mon, 20 Nov 2017 11:02:27 +0100 Subject: [PATCH] Fix typo in CapturePanicAndWait docs --- client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client.go b/client.go index 979dfd3..9301365 100644 --- a/client.go +++ b/client.go @@ -744,7 +744,7 @@ func CapturePanic(f func(), tags map[string]string, interfaces ...Interface) (in return DefaultClient.CapturePanic(f, tags, interfaces...) } -// CapturePanicAndWait is identical to CaptureError, except it blocks and assures that the event was sent +// CapturePanicAndWait is identical to CapturePanic, except it blocks and assures that the event was sent func (client *Client) CapturePanicAndWait(f func(), tags map[string]string, interfaces ...Interface) (err interface{}, errorID string) { // Note: This doesn't need to check for client, because we still want to go through the defer/recover path // Down the line, Capture will be noop'd, so while this does a _tiny_ bit of overhead constructing the @@ -780,7 +780,7 @@ func (client *Client) CapturePanicAndWait(f func(), tags map[string]string, inte return } -// CapturePanicAndWait is identical to CaptureError, except it blocks and assures that the event was sent +// CapturePanicAndWait is identical to CapturePanic, except it blocks and assures that the event was sent func CapturePanicAndWait(f func(), tags map[string]string, interfaces ...Interface) (interface{}, string) { return DefaultClient.CapturePanicAndWait(f, tags, interfaces...) }