vite 6.3.0-beta.0 → 6.3.0-beta.1

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.
@@ -160,7 +160,7 @@ class HMRClient {
160
160
  });
161
161
  }
162
162
  warnFailedUpdate(err, path) {
163
- if (!err.message.includes("fetch")) {
163
+ if (!(err instanceof Error) || !err.message.includes("fetch")) {
164
164
  this.logger.error(err);
165
165
  }
166
166
  this.logger.error(