Skip to content

Commit a6de512

Browse files
committed
Fix wrong type of InvalidCredentialException being used to type check
1 parent 966b334 commit a6de512

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

fit/Couchbase.Analytics.Performer/Internal/Utils/ExceptionExtensions.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using Couchbase.AnalyticsClient.Exceptions;
22
using Couchbase.Grpc.Protocol.Columnar;
3-
using Columnar_InvalidCredentialException = Couchbase.Grpc.Protocol.Columnar.InvalidCredentialException;
43
using InvalidCredentialException = Couchbase.AnalyticsClient.Exceptions.InvalidCredentialException;
54
using QueryException = Couchbase.AnalyticsClient.Exceptions.QueryException;
65

@@ -33,7 +32,7 @@ public static Error ToProtoError(this Exception exception)
3332
};
3433
}
3534

36-
if (exception is Columnar_InvalidCredentialException)
35+
if (exception is InvalidCredentialException)
3736
{
3837
columnarError.SubException = new SubColumnarError
3938
{

0 commit comments

Comments
 (0)