We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cd20f1 commit c720a94Copy full SHA for c720a94
1 file changed
samcli/lib/sync/infra_sync_executor.py
@@ -588,11 +588,12 @@ def _detect_foreach_code_changes(
588
try:
589
current_expanded = expand_language_extensions(current_template).expanded_template
590
deployed_expanded = expand_language_extensions(last_deployed_template).expanded_template
591
- except Exception:
+ except Exception as e:
592
LOG.warning(
593
- "Failed to expand language extensions for code change detection. "
+ "Failed to expand language extensions for code change detection: %s. "
594
"ForEach-generated resources will not be checked for code changes. "
595
- "Run with --debug for details."
+ "Run with --debug for details.",
596
+ e,
597
)
598
LOG.debug("Language extension expansion failure details:", exc_info=True)
599
return
0 commit comments