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 <rakeshv@apache.org>
This commit is contained in:
Rakesh 2021-11-23 12:11:40 +01:00 committed by GitHub
parent ddd2fcaf2d
commit f96df2ca96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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