fix: restore missing error handling import in utils.go

- Reintroduced the 'github.com/juju/errors' import in utils.go to ensure proper error handling functionality is available in the codebase.
This commit is contained in:
Marvin Zhang
2025-04-23 13:55:04 +08:00
parent 1aa58f5065
commit c4f2d1e554

View File

@@ -2,7 +2,6 @@ package controllers
import (
"encoding/json"
"github.com/juju/errors"
"net/http"
"reflect"
"strings"
@@ -14,6 +13,7 @@ import (
"github.com/crawlab-team/crawlab/core/utils"
"github.com/crawlab-team/crawlab/trace"
"github.com/gin-gonic/gin"
"github.com/juju/errors"
"go.mongodb.org/mongo-driver/bson"
"go.mongodb.org/mongo-driver/bson/primitive"
)