summaryrefslogtreecommitdiffstats
path: root/pkg/updates
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2019-02-11 21:30:27 +1100
committerJesse Duffield <jessedduffield@gmail.com>2019-02-11 22:39:17 +1100
commitcfe3605e6b29e23db8dca9eedecc58cb13341587 (patch)
treecff98f9663f184e0979a65135dfd6ab7078744a3 /pkg/updates
parent3a607061a2303d9f45d308de652fbebe7300b43c (diff)
use go-errors package to display stacktrace of errors that cause panics
Diffstat (limited to 'pkg/updates')
-rw-r--r--pkg/updates/updates.go3
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"