Skip to content
Merged
Show file tree
Hide file tree
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
Prev Previous commit
update error msg
  • Loading branch information
l0lawrence committed Jun 6, 2024
commit 218d21532769dce0c4c8d9ca7fa528f0ca6d780f
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ def _http_response_error_handler(self, exception):
if exception.status_code == 404:
raise ResourceNotFoundError(
"Resource not found. "
"Please check that the tier you are using, corresponds to the correct "
"endpoint and/or topic name."
"For Event Grid Namespaces, please specify the namespace_topic name on the client. "
"For Event Grid Basic, do not specify the namespace_topic name."
) from exception
raise exception

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ def _http_response_error_handler(self, exception):
if exception.status_code == 404:
raise ResourceNotFoundError(
"Resource not found. "
"Please check that the tier you are using, corresponds to the correct "
"endpoint and/or topic name."
"For Event Grid Namespaces, please specify the namespace_topic name on the client. "
"For Event Grid Basic, do not specify the namespace_topic name."
) from exception
raise exception

Expand Down