Skip to content

Commit 732ea48

Browse files
committed
chore: 更新依赖项
1 parent cf4612c commit 732ea48

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
module github.com/issue9/mux/v8
22

33
require (
4-
github.com/issue9/assert/v4 v4.2.0
4+
github.com/issue9/assert/v4 v4.3.0
55
github.com/issue9/errwrap v0.3.2
6-
github.com/issue9/source v0.9.1
6+
github.com/issue9/source v0.10.0
77
)
88

99
require golang.org/x/mod v0.17.0 // indirect

go.sum

+4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
github.com/issue9/assert/v4 v4.2.0 h1:XJGMFYW0xfESqFRPLWbSsr0xWdkofytvQbDfNb5n9fw=
22
github.com/issue9/assert/v4 v4.2.0/go.mod h1:v7qDRXi7AsaZZNh8eAK2rkLJg5/clztqQGA1DRv9Lv4=
3+
github.com/issue9/assert/v4 v4.3.0 h1:W3XDKmttsfzihYGxJ9rJoL2ViJgWERB9IxfHcxjv65U=
4+
github.com/issue9/assert/v4 v4.3.0/go.mod h1:v7qDRXi7AsaZZNh8eAK2rkLJg5/clztqQGA1DRv9Lv4=
35
github.com/issue9/errwrap v0.3.2 h1:7KEme9Pfe75M+sIMcPCn/DV90wjnOcRbO4DXVAHj3Fw=
46
github.com/issue9/errwrap v0.3.2/go.mod h1:KcCLuUGiffjooLCUjL89r1cyO8/HT/VRcQrneO53N3A=
57
github.com/issue9/source v0.9.1 h1:duANl/q03NzDtZN5sOPia+s4vBu8c1CqtHGoluY0Tto=
68
github.com/issue9/source v0.9.1/go.mod h1:8L8ef8XhMftlE2ZQ8j60h5hTGlQmPjm/8zvoXr5fnTY=
9+
github.com/issue9/source v0.10.0 h1:HhZ7QRRzeDzCvnxad2OfLpOlrHV3TdNzFybtKUO4h8M=
10+
github.com/issue9/source v0.10.0/go.mod h1:MQYr1hupicwivCqFSH4FAc+eMT6VMTmKTNJOvqRacG0=
711
golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA=
812
golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=

option.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func StatusRecovery(status int) Option {
5252
func WriteRecovery(status int, out io.Writer) Option {
5353
return Recovery(func(w http.ResponseWriter, msg any) {
5454
http.Error(w, http.StatusText(status), status)
55-
source.DumpStack(out, 4, msg)
55+
source.DumpStack(out, 4, true, msg)
5656
})
5757
}
5858

@@ -63,7 +63,7 @@ func WriteRecovery(status int, out io.Writer) Option {
6363
func LogRecovery(status int, l *log.Logger) Option {
6464
return Recovery(func(w http.ResponseWriter, msg any) {
6565
http.Error(w, http.StatusText(status), status)
66-
l.Println(source.Stack(4, msg))
66+
l.Println(source.Stack(4, true, msg))
6767
})
6868
}
6969

0 commit comments

Comments
 (0)