Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Commit

Permalink
Fix typo in CapturePanicAndWait docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin Krasontovitsch committed Nov 20, 2017
1 parent c9de0b9 commit 4b229b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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...)
}
Expand Down

0 comments on commit 4b229b2

Please # to comment.