Add common sentry recover library and add into goroutines (#738)

* Add common sentry recover library and add into goroutines

* fix nits
This commit is contained in:
Dustin Decker
2022-08-29 11:45:37 -07:00
committed by GitHub
parent f3367d7910
commit fa9479100e
26 changed files with 94 additions and 46 deletions
+1 -1
View File
@@ -1,7 +1,6 @@
package main
import (
"context"
"fmt"
"os"
"reflect"
@@ -16,6 +15,7 @@ import (
"golang.org/x/sync/semaphore"
"gopkg.in/alecthomas/kingpin.v2"
"github.com/trufflesecurity/trufflehog/v3/pkg/context"
"github.com/trufflesecurity/trufflehog/v3/pkg/decoders"
"github.com/trufflesecurity/trufflehog/v3/pkg/detectors"
"github.com/trufflesecurity/trufflehog/v3/pkg/engine"