Skip to content
Snippets Groups Projects

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

@@ -93,10 +93,13 @@ export class NatsBaseService {
} catch (e) {
this.logger.log(JSON.stringify(e, null, 2));
const d = await this.jsm.streams.list();
this.logger.log(JSON.stringify(d, null, 2));
const streams = await this.jsm.streams.list().next();
streams.forEach((si) => {
console.log(JSON.stringify(si, null, 2));
});
if (e instanceof NatsError && e.api_error?.err_code === 10065) {
if (e instanceof NatsError && e.api_error?.err_code === 10058) {
console.log("here ?");
return await this.jsm.streams.update(sconfig.name, sconfig);
}
Loading