Skip to content

Commit cd7e67d

Browse files
committed
pointless error mangling leads to a crash so delete it
1 parent 26f7df1 commit cd7e67d

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

src/packages/project/conat/connection.ts

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,9 @@ async function callHub({
7070
timeout?: number;
7171
}) {
7272
const subject = `hub.project.${project_id}.${service}`;
73-
try {
74-
const data = { name, args };
75-
const resp = await client.request(subject, data, { timeout });
76-
return resp.data;
77-
} catch (err) {
78-
err.message = `${err.message} - callHub: subject='${subject}', name='${name}', `;
79-
throw err;
80-
}
73+
const data = { name, args };
74+
const resp = await client.request(subject, data, { timeout });
75+
return resp.data;
8176
}
8277

8378
async function versionCheckLoop(client) {

0 commit comments

Comments
 (0)