Explorar o código

include base error

Darien Raymond %!s(int64=7) %!d(string=hai) anos
pai
achega
622cb529a9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/dispatcher/default.go

+ 1 - 1
app/dispatcher/default.go

@@ -39,7 +39,7 @@ func NewDefaultDispatcher(ctx context.Context, config *Config) (*DefaultDispatch
 	}
 
 	if err := v.RegisterFeature((*core.Dispatcher)(nil), d); err != nil {
-		return nil, newError("unable to register Dispatcher")
+		return nil, newError("unable to register Dispatcher").Base(err)
 	}
 	return d, nil
 }