Skip to content

Commit

Permalink
enhance logging
Browse files Browse the repository at this point in the history
  • Loading branch information
XiaofeiCao committed Nov 28, 2024
1 parent b102c31 commit 098ec58
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions eng/automation/generate_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,8 +422,10 @@ def generate_typespec_project(
if sdk_folder:
# parse service and module
module, service = parse_service_module(sdk_folder)
except Exception:
pass
else:
logging.info(f"[GENERATE] Code generation failed. No sdk folder found.")
except Exception as e:
logging.error(f"[GENERATE] Code generation failed. Finding sdk folder fails: {e}")

return succeeded, require_sdk_integration, sdk_folder, service, module

Expand Down

0 comments on commit 098ec58

Please sign in to comment.