Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 2 additions & 2 deletions src/python/library/tritonclient/http/_utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3

# Copyright 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright 2023-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
Expand Down Expand Up @@ -51,7 +51,7 @@ def _get_error(response):
)
except Exception as e:
return InferenceServerException(
msg=f"an exception occurred in the client while decoding the response: {e}",
msg=f"an exception occurred in the client while decoding the response: {e}\nresponse: {body}",
status=str(response.status_code),
debug_details=body,
)
Expand Down
4 changes: 2 additions & 2 deletions src/python/library/tritonclient/http/aio/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3

# Copyright 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright 2022-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
Expand Down Expand Up @@ -71,7 +71,7 @@ async def _get_error(response):
)
except Exception as e:
return InferenceServerException(
msg=f"an exception occurred in the client while decoding the response: {e}",
msg=f"an exception occurred in the client while decoding the response: {e}\nresponse: {body}",
status=str(response.status),
debug_details=body,
)
Expand Down
Loading