MCPcopy
hub / github.com/sa7mon/S3Scanner / FailOnError

Function FailOnError

worker/mq_worker.go:16–20  ·  view source on GitHub ↗
(err error, msg string)

Source from the content-addressed store, hash-verified

14)
15
16func FailOnError(err error, msg string) {
17 if err != nil {
18 log.Fatalf("%s: %s", msg, err)
19 }
20}
21
22func WorkMQ(threadID int, wg *sync.WaitGroup, conn *amqp.Connection, provider provider.StorageProvider, queue string,
23 threads int, doEnumerate bool, writeToDB bool) {

Callers 2

WorkMQFunction · 0.85
publishBucketFunction · 0.85

Calls

no outgoing calls

Tested by 1

publishBucketFunction · 0.68