Skip to content
Snippets Groups Projects
Unverified Commit a602c382 authored by Zdravko Iliev's avatar Zdravko Iliev
Browse files

debug: nats stream error

parent e5794c70
No related branches found
No related tags found
1 merge request!31ci: issuer doesn't see any new connections in GET /connections or GET /connections/:id
Pipeline #64849 passed with stage
in 1 minute and 20 seconds
This commit is part of merge request !31. Comments created here will be created in the context of that merge request.
......@@ -65,7 +65,7 @@ ocm:
peer:
url: "https://ssi-dev.vereign.com/issuer"
issuer:
name: "ISSUER_AGENT_OCM_2"
name: "ISSUER_AGENT_OCM"
key: "CwNJroKHTSSj3XvE7ZAnuKiTn2C1234FDCQkFvxEqfm5rzhNri"
did: "000000000000000000000000TCuste1232289234"
db:
......
......@@ -93,8 +93,10 @@ 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));
if (e instanceof NatsError && e.api_error?.err_code === 10065) {
this.logger.log("here ?");
return await this.jsm.streams.update(sconfig.name, sconfig);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment