@zdavison/matador 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -122,7 +122,7 @@ export class LocalTransport {
122
122
  }
123
123
  catch (error) {
124
124
  // Handler errors should be caught in the pipeline
125
- this.logger.error('🔴 Handler error in message processing', error);
125
+ this.logger.error('[Matador] 🔴 Handler error in message processing', error);
126
126
  }
127
127
  }
128
128
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zdavison/matador",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "A batteries-included event system.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -150,7 +150,7 @@ export class ShutdownManager {
150
150
  while (!this.getHandlersState().isIdle) {
151
151
  if (Date.now() > deadline) {
152
152
  this.config.logger.warn(
153
- `[Matador] ⚠️ Shutdown timeout reached with ${this.eventsBeingProcessed} events still processing`,
153
+ `[Matador] 🟡 Shutdown timeout reached with ${this.eventsBeingProcessed} events still processing`,
154
154
  );
155
155
  break;
156
156
  }
@@ -185,7 +185,7 @@ export class LocalTransport implements Transport {
185
185
  await sub.handler(message.envelope, receipt);
186
186
  } catch (error) {
187
187
  // Handler errors should be caught in the pipeline
188
- this.logger.error('🔴 Handler error in message processing', error);
188
+ this.logger.error('[Matador] 🔴 Handler error in message processing', error);
189
189
  }
190
190
  }
191
191
  }