Skip to content

Commit f7d05e1

Browse files
committed
slight logging improv
1 parent d241003 commit f7d05e1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

localstack-core/localstack/services/cloudformation/engine/v2/change_set_model_executor.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,9 +386,12 @@ def _execute_resource_action(
386386
message=f"Resource provider operation failed: {reason}",
387387
)
388388
elif config.CFN_IGNORE_UNSUPPORTED_RESOURCE_TYPES:
389-
LOG.warning(
390-
"Resource of type %s is not supported but CFN_IGNORE_UNSUPPORTED_RESOURCE_TYPES is set to ignore it",
389+
log_not_available_message(
391390
resource_type,
391+
f'No resource provider found for "{resource_type}"',
392+
)
393+
LOG.warning(
394+
"Deployment of resource type %s successful due to config CFN_IGNORE_UNSUPPORTED_RESOURCE_TYPES"
392395
)
393396
event = ProgressEvent(
394397
OperationStatus.SUCCESS,

0 commit comments

Comments
 (0)