Skip to content
Snippets Groups Projects

ci: issuer doesn't see any new connections in GET /connections or GET /connections/:id

@@ -38,7 +38,7 @@ export class ConsumerService extends NatsBaseService {
return this.jsClient.consumers.get(stream, consumerConfig.name);
} catch (error) {
if (error instanceof NatsError && error.code === "409") {
if (error instanceof NatsError && error.api_error?.err_code === 10065) {
this.logger.log("Stream already exists");
return this.jsClient.consumers.get(stream, consumerConfig.name);
}
Loading