Skip to content

Commit dd832ee

Browse files
authored
Merge branch 'master' into ioutil-deprecated
2 parents 2c81dfd + 771f04b commit dd832ee

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
- "1.20"
1717
- "1.21"
1818
steps:
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v3
2020

2121
- name: Set up Go (${{ matrix.go }}
22-
uses: actions/setup-go@v2
22+
uses: actions/setup-go@v4
2323
with:
2424
go-version: ${{ matrix.go }}
2525

@@ -30,4 +30,4 @@ jobs:
3030
run: go test ./...
3131

3232
- name: Tidy (${{ matrix.go }})
33-
run: '[[ `go version` < "go version go1.15.10" ]] || go mod tidy'
33+
run: go mod tidy

contexttags_api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
// WithContextTags captures the k/v pairs stored in the context via the
2525
// `logtags` package and annotates them on the error.
2626
//
27-
// Only the stromg representation of values remains available. This is
27+
// Only the strong representation of values remains available. This is
2828
// because the library cannot guarantee that the underlying value is
2929
// preserved across the network. To avoid creating a stateful interface
3030
// (where the user code needs to know whether an error has traveled

errbase/format_error.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ type state struct {
648648

649649
// entries collect the result of formatRecursive(). They are
650650
// consumed by formatSingleLineOutput() and formatEntries() to
651-
// procude the contents of finalBuf.
651+
// produce the contents of finalBuf.
652652
entries []formatEntry
653653

654654
// buf collects the details of the current error object at a given
@@ -928,7 +928,7 @@ func (s *safePrinter) enhanceArgs(args []interface{}) {
928928
args[i] = redact.Safe(thisStack)
929929
lastSeen = st
930930
}
931-
// In contrast with (*printer).enhanceArgs(), we dont use a
931+
// In contrast with (*printer).enhanceArgs(), we don't use a
932932
// special case for `error` here, because the redact package
933933
// already helps us recursing into a safe print for
934934
// error objects.

report/report.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import (
3838
// Title: (1) some prefix in bold (2) one line for a stack trace
3939
// (3) a single-line subtitle
4040
//
41-
// (4) the tags, as a tag soup (concatenated in a single paragrah,
41+
// (4) the tags, as a tag soup (concatenated in a single paragraph,
4242
// unsorted)
4343
//
4444
// (5) a "message"
@@ -66,7 +66,7 @@ import (
6666
// (3) the Value field of the 1st Exception object, if any, unwrapped as a single line
6767
// (4) the Tags field
6868
// (5) the Message field
69-
// (7) the Type field (same as (1) for 1st execption)
69+
// (7) the Type field (same as (1) for 1st exception)
7070
// (8) the Value field (same as (3) for 1st exception)
7171
// (9) the Stacktrace field (input to (2) on 1st exception)
7272
// (10) the other fields on the Event object
@@ -296,7 +296,7 @@ func BuildSentryReport(err error) (event *sentry.Event, extraDetails map[string]
296296
event.Message = longMsgBuf.String()
297297
event.Exception = exceptions
298298

299-
// If there is no exception payload, synthetize one.
299+
// If there is no exception payload, synthesize one.
300300
if len(event.Exception) == 0 {
301301
// We know we don't have a stack trace to extract line/function
302302
// info from (if we had, we'd have an Exception payload at that

report_api.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import (
3232
// Title: (1) some prefix in bold (2) one line for a stack trace
3333
// (3) a single-line subtitle
3434
//
35-
// (4) the tags, as a tag soup (concatenated in a single paragrah,
35+
// (4) the tags, as a tag soup (concatenated in a single paragraph,
3636
// unsorted)
3737
//
3838
// (5) a "message"
@@ -57,7 +57,7 @@ import (
5757
// (3) the Value field of the 1st Exception object, if any, unwrapped as a single line
5858
// (4) the Tags field
5959
// (5) the Message field
60-
// (7) the Type field (same as (1) for 1st execption)
60+
// (7) the Type field (same as (1) for 1st exception)
6161
// (8) the Value field (same as (3) for 1st exception)
6262
// (9) the Stacktrace field (input to (2) on 1st exception)
6363
// (10) the other fields on the Event object

0 commit comments

Comments
 (0)