MCPcopy
hub / github.com/NVIDIA/TensorRT-LLM / handle_check_failure

Function handle_check_failure

scripts/release_check.py:36–43  ·  view source on GitHub ↗

Helper function to handle check failures with consistent messaging

(error_msg)

Source from the content-addressed store, hash-verified

34
35
36def handle_check_failure(error_msg):
37 """Helper function to handle check failures with consistent messaging"""
38
39 print(f"\nError: {error_msg}")
40 print(
41 "Please refer to our coding style guidelines at: https://github.com/NVIDIA/TensorRT-LLM/blob/main/CONTRIBUTING.md#coding-style to fix this issue"
42 )
43 sys.exit(1)
44
45
46def main():

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected