feat(block): adds bridge_block_scriptzteam module
This commit is contained in:
parent
64d74c0a57
commit
c34dab7b9a
3 changed files with 46 additions and 0 deletions
|
@ -16,6 +16,7 @@ from app.terraform.block.bridge_dnsc import BlockBridgeDnscAutomation
|
|||
from app.terraform.block.bridge_github import BlockBridgeGitHubAutomation
|
||||
from app.terraform.block.bridge_gitlab import BlockBridgeGitlabAutomation
|
||||
from app.terraform.block.bridge_roskomsvoboda import BlockBridgeRoskomsvobodaAutomation
|
||||
from app.terraform.block.block_scriptzteam import BlockBridgeScriptzteamAutomation
|
||||
from app.terraform.block_external import BlockExternalAutomation
|
||||
from app.terraform.block_ooni import BlockOONIAutomation
|
||||
from app.terraform.block_roskomsvoboda import BlockRoskomsvobodaAutomation
|
||||
|
@ -47,6 +48,7 @@ jobs = {
|
|||
BlockBridgeGitHubAutomation,
|
||||
BlockBridgeGitlabAutomation,
|
||||
BlockBridgeRoskomsvobodaAutomation,
|
||||
BlockBridgeScriptzteamAutomation,
|
||||
BlockExternalAutomation,
|
||||
BlockOONIAutomation,
|
||||
BlockRoskomsvobodaAutomation,
|
||||
|
@ -132,6 +134,8 @@ def run_job(job_cls: Type[BaseAutomation], *,
|
|||
# to be logged for investigation. Catching more specific exceptions would just mean that
|
||||
# others go unrecorded and are difficult to debug.
|
||||
except Exception as exc: # pylint: disable=broad-except
|
||||
if logging.getLogger().level == logging.DEBUG:
|
||||
raise exc
|
||||
trace = TracebackException.from_exception(exc)
|
||||
success = False
|
||||
logs = "\n".join(trace.format())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue