@multiplayer-app/sandbox 7.0.0-push-ecr.0 → 7.0.0

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/dist/index.js CHANGED
@@ -58,7 +58,7 @@ var import_os2 = __toESM(require("os"));
58
58
  var import_path2 = __toESM(require("path"));
59
59
 
60
60
  // package.json
61
- var version = "7.0.0-push-ecr.0";
61
+ var version = "7.0.0";
62
62
 
63
63
  // src/images.ts
64
64
  var import_fs = __toESM(require("fs"));
@@ -363,7 +363,7 @@ var import_os3 = require("os");
363
363
  // ../logger/src/config.ts
364
364
  var NODE_ENV = process.env.NODE_ENV || "development";
365
365
  var isProduction = NODE_ENV === "production";
366
- var APP_NAME = process.env.npm_package_name?.split("/").pop() || "tests";
366
+ var APP_NAME = process.env.APP_NAME || process.env.npm_package_name?.split("/").pop() || "unknown-app";
367
367
  var LOG_LEVEL = process.env.LOG_LEVEL || (isProduction ? "info" : "debug");
368
368
 
369
369
  // ../logger/src/logger.ts
@@ -3587,7 +3587,10 @@ function connectToSandbox(config, executor) {
3587
3587
  socket.off(WorkerEvent.REATTACH);
3588
3588
  });
3589
3589
  socket.on("connect_error", (error) => {
3590
- src_default.error({ err: error }, "sandbox connection error");
3590
+ src_default.error({
3591
+ err: error,
3592
+ sandboxUrl: config.sandboxUrl
3593
+ }, "sandbox connection error");
3591
3594
  });
3592
3595
  registerCommandHandlers(socket, executor);
3593
3596
  return socket;