We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2367825 commit 544a223Copy full SHA for 544a223
ads/aqua/common/decorator.py
@@ -72,8 +72,12 @@ def inner_function(
72
aqua_api_details=dict(
73
# __qualname__ gives information of class and name of api
74
aqua_api_name=func.__qualname__,
75
- oci_api_name=error.operation_name,
76
- service_endpoint=error.request_endpoint
+ oci_api_name=getattr(
+ error, "operation_name", "Unknown OCI Operation"
77
+ ),
78
+ service_endpoint=getattr(
79
+ error, "request_endpoint", "Unknown Request Endpoint"
80
+ )
81
)
82
83
except (
0 commit comments