This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/main by this push:
new f96df2c server: Add OperationTimedoutException to known list (#5702)
f96df2c is described below
commit f96df2ca9609ad5e418fbb811e18a8fcd67f3102
Author: Rakesh <[email protected]>
AuthorDate: Tue Nov 23 12:11:40 2021 +0100
server: Add OperationTimedoutException to known list (#5702)
Currently OperationTimedoutException is not in the known list
and because of that, we get some annoying error messages.
Co-authored-by: Rakesh Venkatesh <[email protected]>
---
utils/src/main/java/com/cloud/utils/exception/CSExceptionErrorCode.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/utils/src/main/java/com/cloud/utils/exception/CSExceptionErrorCode.java
b/utils/src/main/java/com/cloud/utils/exception/CSExceptionErrorCode.java
index 64978d2..4bb5903 100644
--- a/utils/src/main/java/com/cloud/utils/exception/CSExceptionErrorCode.java
+++ b/utils/src/main/java/com/cloud/utils/exception/CSExceptionErrorCode.java
@@ -71,6 +71,7 @@ public class CSExceptionErrorCode {
ExceptionErrorCodeMap.put("com.cloud.exception.RequestLimitException", 4545);
ExceptionErrorCodeMap.put("com.cloud.exception.StorageConflictException", 4550);
ExceptionErrorCodeMap.put("com.cloud.exception.UnavailableCommandException",
4555);
+
ExceptionErrorCodeMap.put("com.cloud.exception.OperationTimedoutException",
4560);
// Have a special error code for ServerApiException when it is
// thrown in a standalone manner when failing to detect any of the
above