MCPcopy Create free account
hub / github.com/blacklanternsecurity/bbot / _fail_setup

Method _fail_setup

bbot/scanner/scanner.py:1283–1289  ·  view source on GitHub ↗
(self, msg)

Source from the content-addressed store, hash-verified

1281 self.core.logger.add_log_handler(handler)
1282
1283 def _fail_setup(self, msg):
1284 msg = str(msg)
1285 if self.force_start:
1286 self.error(msg)
1287 else:
1288 msg += " (--force to run module anyway)"
1289 raise ScanError(msg)
1290
1291 def _load_modules(self, modules):
1292 modules = [str(m) for m in modules]

Callers 2

_prepMethod · 0.95
load_modulesMethod · 0.95

Calls 2

errorMethod · 0.95
ScanErrorClass · 0.90

Tested by

no test coverage detected