Correct some error handling, use package that provides useful stack traces

This commit is contained in:
Dane Everitt
2019-11-16 17:01:38 -08:00
parent 56be65888c
commit cae0090763
7 changed files with 24 additions and 9 deletions

View File

@@ -4,9 +4,9 @@ import (
"bufio"
"bytes"
"encoding/json"
"errors"
"fmt"
"github.com/gabriel-vasile/mimetype"
"github.com/pkg/errors"
"github.com/pterodactyl/wings/config"
"go.uber.org/zap"
"io"

View File

@@ -1,9 +1,9 @@
package server
import (
"errors"
"fmt"
"github.com/patrickmn/go-cache"
"github.com/pkg/errors"
"github.com/pterodactyl/wings/api"
"github.com/pterodactyl/wings/config"
"github.com/remeh/sizedwaitgroup"