diff --git a/src/modules/connection/driver/grpc/service/EvitaSessionProvider.ts b/src/modules/connection/driver/grpc/service/EvitaSessionProvider.ts index 33a510c..e69b1a8 100644 --- a/src/modules/connection/driver/grpc/service/EvitaSessionProvider.ts +++ b/src/modules/connection/driver/grpc/service/EvitaSessionProvider.ts @@ -120,7 +120,7 @@ export class EvitaSessionProvider { } ) } catch (e) { - if (e instanceof ConnectError && e.code === Code.InvalidArgument) { + if (e instanceof ConnectError) { // ignore, session already closed return }