Skip to content

Commit ed03b61

Browse files
author
Navjot Singh
committed
Update ExceptionUtils.cs
Using ShardManagementException constructor which takes inner exception.
1 parent f6a3543 commit ed03b61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Src/ElasticScale.Client/ShardManagement/Utils/ExceptionUtils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ internal static ShardManagementException GetStoreExceptionGlobal(
9797
category,
9898
ShardManagementErrorCode.StorageOperationFailure,
9999
Errors._Store_SqlExceptionGlobal,
100-
storeException.InnerException != null ? storeException.InnerException.Message : storeException.Message,
101100
storeException,
101+
storeException.InnerException != null ? storeException.InnerException.Message : storeException.Message,
102102
operationName);
103103
}
104104

0 commit comments

Comments
 (0)