Skip to content
This repository was archived by the owner on Aug 14, 2024. It is now read-only.

Commit d3c9736

Browse files
committed
Upgrade first-error
1 parent 07c4cb7 commit d3c9736

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ require (
1616
require (
1717
github.com/lxn/win v0.0.0-20210218163916-a377121e959e // indirect
1818
github.com/thoas/go-funk v0.9.1 // indirect
19-
github.com/wirekang/first-error v0.0.0-20220123070531-e04545a1f799 // indirect
19+
github.com/wirekang/first-error v0.0.0-20220123073622-16b35dbe56c5 // indirect
2020
golang.org/x/image v0.0.0-20211028202545-6944b10bf410 // indirect
2121
golang.org/x/net v0.0.0-20220107192237-5cfca573fb4d // indirect
2222
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e // indirect

go.sum

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ github.com/thoas/go-funk v0.9.1 h1:O549iLZqPpTUQ10ykd26sZhzD+rmR5pWhuElrhbC20M=
1616
github.com/thoas/go-funk v0.9.1/go.mod h1:+IWnUfUmFO1+WVYQWQtIJHeRRdaIyyYglZN7xzUPe4Q=
1717
github.com/wirekang/first-error v0.0.0-20220123070531-e04545a1f799 h1:UB/50gX+tVwPsqrLhhLjsq5k/FPEJdI+sFDm9+/oKwY=
1818
github.com/wirekang/first-error v0.0.0-20220123070531-e04545a1f799/go.mod h1:Tbobj4UqhyR8dOqhL0UPjAZ4FKlIvlug3E1ZI5bRp3I=
19+
github.com/wirekang/first-error v0.0.0-20220123073622-16b35dbe56c5 h1:CVAqoGed+g8mOcOtAZZtOvBu/5qvW3g4CRvTvd7R2hY=
20+
github.com/wirekang/first-error v0.0.0-20220123073622-16b35dbe56c5/go.mod h1:Tbobj4UqhyR8dOqhL0UPjAZ4FKlIvlug3E1ZI5bRp3I=
1921
github.com/wirekang/w32 v1.2.1-0.20220109051044-e6d7dabffcd3 h1:zZnRCKOLXiJZdsxlW9TbvpoBKaGKTjcj2iAblVdbnVw=
2022
github.com/wirekang/w32 v1.2.1-0.20220109051044-e6d7dabffcd3/go.mod h1:L6LTHMKvhtpGUkIYGTo4U9PKancYKpGS/+naYtTs8Ys=
2123
github.com/zserge/lorca v0.1.10 h1:f/xBJ3D3ipcVRCcvN8XqZnpoKcOXV8I4vwqlFyw7ruc=

internal/logic/logic.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ type logicState struct {
7777
func Run() {
7878
uiManager := ui.New()
7979

80-
defer ferr.Recover(
80+
defer ferr.RecoverCallback(
8181
func(s string) {
8282
lg.Errorf(s)
8383
uiManager.ShowError(s)

0 commit comments

Comments
 (0)