Skip to content

Commit 5d680c2

Browse files
committed
Address unhandled exception when initializing bundle object
1 parent 29b0528 commit 5d680c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

codeql_bundle/cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,9 @@ def main(
6767
logger.info(
6868
f"Creating custom bundle of {bundle_path} using CodeQL packs in workspace {workspace}"
6969
)
70-
bundle = CustomBundle(bundle_path, workspace)
70+
7171
try:
72+
bundle = CustomBundle(bundle_path, workspace)
7273
logger.info(f"Looking for CodeQL packs in workspace {workspace}")
7374
packs_in_workspace = bundle.codeql.pack_ls(workspace)
7475
logger.info(

0 commit comments

Comments
 (0)