Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
improve error output
  • Loading branch information
weidongxu-microsoft committed May 8, 2024
commit c55367b64a25ba486d031d1d41ccf21ead278a5d
5 changes: 4 additions & 1 deletion eng/mgmt/automation/generate_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,10 @@ def compile_package(sdk_root: str, group_id: str, module: str) -> bool:
sdk_root, group_id, module)
logging.info(command)
if os.system(command) != 0:
logging.error('[COMPILE] Maven build fail')
error_message = ('[COMPILE] Maven build fail.\n'
'You can inquire in "Language - Java" Teams channel. Please include the link of this Pull Request in the query.')
logging.error(error_message)
print(error_message, file=sys.stderr)
return False
return True

Expand Down