Skip to content

Commit 0fbca70

Browse files
give up on jwt manager error
1 parent 41b0ed6 commit 0fbca70

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

main.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package main
33
import (
44
"context"
55
"errors"
6+
"fmt"
67
"io/fs"
78
"log"
89
"net/http"
@@ -207,6 +208,11 @@ func ScanAndProcessDir(ctx context.Context, config LoaderConfig) error {
207208

208209
for r := range results {
209210
log.Printf("processed %s", r)
211+
212+
// give up on special case of JwtManager issue until we can debug more.
213+
if strings.Contains(r, "JwtManager instance not properly initialized") {
214+
return fmt.Errorf("giving up on JwtManager instance not properly initialized error")
215+
}
210216
}
211217

212218
select {

0 commit comments

Comments
 (0)