Skip to content

Commit

Permalink
fix: failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
danibarranqueroo committed Feb 27, 2025
1 parent 30f5839 commit 2a6ba53
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion prowler/providers/azure/services/storage/storage_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,10 @@ def _get_blob_properties(self):
),
)
except Exception as error:
if "Blob is not supported for the account." in str(error).strip():
if (
"Blob is not supported for the account."
in str(error).strip()
):
logger.warning(

Check warning on line 112 in prowler/providers/azure/services/storage/storage_service.py

View check run for this annotation

Codecov / codecov/patch

prowler/providers/azure/services/storage/storage_service.py#L112

Added line #L112 was not covered by tests
f"Subscription name: {subscription} -- {error.__class__.__name__}[{error.__traceback__.tb_lineno}]: {error}"
)
Expand Down

0 comments on commit 2a6ba53

Please sign in to comment.