@leviyuan/lodestar 0.21.14 → 0.21.16

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.
@@ -44,7 +44,7 @@ function apply(ctx) {
44
44
  };
45
45
  const fail = (error) => {
46
46
  const message = nativeErrorMessage(error);
47
- process.stderr.write(`lodestar-dsh: ${message}
47
+ process.stderr.write(`lodestar-dsh: runtime failure
48
48
  `);
49
49
  notify("failure", { message });
50
50
  };
@@ -113,7 +113,7 @@ function apply(ctx) {
113
113
  });
114
114
  ctx.on("agent/error", ({ agent, error }) => {
115
115
  const message = nativeErrorMessage(error);
116
- process.stderr.write(`lodestar-dsh agent error: ${message}
116
+ process.stderr.write(`lodestar-dsh: agent failure
117
117
  `);
118
118
  if (agent.session.id === rootId)
119
119
  turnFailure = message;
@@ -392,8 +392,8 @@ function apply(ctx) {
392
392
  if (opening) {
393
393
  try {
394
394
  await opening;
395
- } catch (error) {
396
- process.stderr.write(`lodestar-dsh: initialization cancelled during shutdown: ${String(error)}
395
+ } catch {
396
+ process.stderr.write(`lodestar-dsh: initialization cancelled during shutdown
397
397
  `);
398
398
  }
399
399
  }