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

fix: handling stream if already exists

parent 839e2b25
Branches
Tags
1 merge request!31ci: issuer doesn't see any new connections in GET /connections or GET /connections/:id
Pipeline #64815 passed
# OCM ENGINE - AGENT # OCM ENGINE - AGENT
Agent service is a wrapper around @ocm-engine/askar library. Agent service is a wrapper around @ocm-engine/askar library.
......
...@@ -75,6 +75,10 @@ export class NatsBaseService { ...@@ -75,6 +75,10 @@ export class NatsBaseService {
this.logger.error( this.logger.error(
`Failed to connect to NATS, retrying...${error.message}`, `Failed to connect to NATS, retrying...${error.message}`,
); );
throw new Error(
`Failed to connect to NATS, retrying...${error.message}`,
);
}, },
}, },
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment