Skip to content

Commit

Permalink
Expose errors (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
daemonl committed Jun 15, 2024
1 parent 36a1779 commit 81eaf1b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"database/sql"
"time"

"github.com/pentops/go-grpc-helpers/grpcerror"
"github.com/pentops/go-grpc-helpers/protovalidatemw"
"github.com/pentops/log.go/grpc_log"
"github.com/pentops/log.go/log"
Expand All @@ -19,7 +18,6 @@ import (
func GRPCMiddleware() []grpc.UnaryServerInterceptor {
return []grpc.UnaryServerInterceptor{
grpc_log.UnaryServerInterceptor(log.DefaultContext, log.DefaultTrace, log.DefaultLogger),
grpcerror.UnaryServerInterceptor(log.DefaultLogger),
PSMActionMiddleware(actorExtractor),
protovalidatemw.UnaryServerInterceptor(),
}
Expand Down

0 comments on commit 81eaf1b

Please sign in to comment.