fix(api): add missing logging for Attack Paths query execution and scan error handling (#10269)

This commit is contained in:
Josema Camacho
2026-03-10 16:47:53 +01:00
committed by GitHub
parent c4d692f77b
commit 3288a4a131
5 changed files with 67 additions and 7 deletions
@@ -239,8 +239,9 @@ def sync_aws_account(
failed_syncs[func_name] = exception_message
logger.warning(
f"Caught exception syncing function {func_name} from AWS account {prowler_api_provider.uid}. We "
"are continuing on to the next AWS sync function.",
f"Caught exception syncing function {func_name} from AWS account {prowler_api_provider.uid}: {e}. "
"Continuing to the next AWS sync function.",
exc_info=True,
)
continue