@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.
package/cli.ts CHANGED
@@ -327,7 +327,7 @@ async function dispatchEvent(
327
327
 
328
328
  try {
329
329
  await matador.start();
330
- logSuccess('Matador started');
330
+ logSuccess('[Matador] Started.');
331
331
 
332
332
  // Create and dispatch the event
333
333
  const event = new EventClass(eventSpec.data, eventSpec.before);
@@ -99,7 +99,7 @@ export class ShutdownManager {
99
99
  const deadline = Date.now() + this.config.gracefulShutdownTimeout;
100
100
  while (!this.getHandlersState().isIdle) {
101
101
  if (Date.now() > deadline) {
102
- this.config.logger.warn(`[Matador] ⚠️ Shutdown timeout reached with ${this.eventsBeingProcessed} events still processing`);
102
+ this.config.logger.warn(`[Matador] 🟡 Shutdown timeout reached with ${this.eventsBeingProcessed} events still processing`);
103
103
  break;
104
104
  }
105
105
  await this.sleep(this.config.idlePollingInterval);
package/dist/index.cjs CHANGED
@@ -945,7 +945,7 @@ var ShutdownManager = class {
945
945
  while (!this.getHandlersState().isIdle) {
946
946
  if (Date.now() > deadline) {
947
947
  this.config.logger.warn(
948
- `[Matador] \u26A0\uFE0F Shutdown timeout reached with ${this.eventsBeingProcessed} events still processing`
948
+ `[Matador] \u{1F7E1} Shutdown timeout reached with ${this.eventsBeingProcessed} events still processing`
949
949
  );
950
950
  break;
951
951
  }
@@ -2350,7 +2350,7 @@ var LocalTransport = class {
2350
2350
  try {
2351
2351
  await sub.handler(message.envelope, receipt);
2352
2352
  } catch (error) {
2353
- this.logger.error("\u{1F534} Handler error in message processing", error);
2353
+ this.logger.error("[Matador] \u{1F534} Handler error in message processing", error);
2354
2354
  }
2355
2355
  }
2356
2356
  }