diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2019-02-11 21:30:27 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2019-02-11 22:39:17 +1100 |
commit | cfe3605e6b29e23db8dca9eedecc58cb13341587 (patch) | |
tree | cff98f9663f184e0979a65135dfd6ab7078744a3 /pkg/updates | |
parent | 3a607061a2303d9f45d308de652fbebe7300b43c (diff) |
use go-errors package to display stacktrace of errors that cause panics
Diffstat (limited to 'pkg/updates')
-rw-r--r-- | pkg/updates/updates.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/updates/updates.go b/pkg/updates/updates.go index a08a2edcc..a4ec67e27 100644 --- a/pkg/updates/updates.go +++ b/pkg/updates/updates.go @@ -2,7 +2,6 @@ package updates import ( "encoding/json" - "errors" "fmt" "io/ioutil" "net/http" @@ -13,6 +12,8 @@ import ( "strings" "time" + "github.com/go-errors/errors" + "github.com/kardianos/osext" getter "github.com/jesseduffield/go-getter" |