Skip to content

Commit 0aed80c

Browse files
committed
Update error message
1 parent 3da95f7 commit 0aed80c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hapiness/rabbitmq",
3-
"version": "1.5.1",
3+
"version": "1.5.1-alpha1",
44
"description": "Hapiness module for rabbitmq",
55
"main": "commonjs/index.js",
66
"types": "index.d.ts",

src/module/rabbitmq.extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export class RabbitMQExt implements OnExtensionLoad, OnModuleInstantiated, OnShu
7878
.do(() => this.onModuleInstantiated(module, connection))
7979
.subscribe(() => {}, err => {
8080
errorHandler(err);
81-
const connectionError: any = new Error('@hapiness/rabbitmq Connection error');
81+
const connectionError: any = new Error('Connection error');
8282
connectionError.source = err;
8383
connectionError.key = 'HAPINESS_RABBITMQ_CONNECTION_ERROR';
8484
connection.emit('error', connectionError);

0 commit comments

Comments
 (0)