From 414bc91c1d59d3b15b6e3742805643f2b6227c94 Mon Sep 17 00:00:00 2001 From: Kevin Chen Date: Sat, 13 Jan 2024 18:28:48 -0500 Subject: [PATCH] chore: Fix lint warnings --- cmd/svc/org/service/service.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/svc/org/service/service.go b/cmd/svc/org/service/service.go index 8603d8f..0c90894 100644 --- a/cmd/svc/org/service/service.go +++ b/cmd/svc/org/service/service.go @@ -88,6 +88,7 @@ func (s *Service) GetOrg( "id", req.Msg.GetId(), "err", err, ) + if errors.Is(err, sql.ErrNoRows) { return nil, connect.NewError( connect.CodeNotFound,