@broch/cli 1.22.0 → 1.23.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/cli.js CHANGED
@@ -3585,7 +3585,7 @@ var init_readline_instance = __esm({
3585
3585
 
3586
3586
  // src/lib/version.ts
3587
3587
  function getCliVersion() {
3588
- return "1.22.0";
3588
+ return "1.23.0";
3589
3589
  }
3590
3590
  function getVersionSkewRemedy(clientVersion, serverVersion) {
3591
3591
  const clientMajor = Number.parseInt(clientVersion, 10);
@@ -160627,9 +160627,11 @@ var AccessCommand = class _AccessCommand extends BaseCommand {
160627
160627
  socket.on("close", () => stream.destroy());
160628
160628
  stream.on("close", () => socket.destroy());
160629
160629
  } catch (err) {
160630
- log.debug(`Channel failed for ${ep.accessName}:${ep.port}: ${err instanceof Error ? err.message : err}`);
160630
+ const reason = err instanceof Error ? err.message : String(err);
160631
+ log.warn(`Could not open Access channel to ${ep.accessName}:${ep.port} \u2014 ${reason}`);
160631
160632
  if (isHttpPlain) {
160632
160633
  const body = `Broch Access: could not open a channel to ${ep.accessName}.
160634
+ ${reason}
160633
160635
  `;
160634
160636
  socket.end(
160635
160637
  `HTTP/1.1 502 Bad Gateway\r