Pārlūkot izejas kodu

Change message

customisations
alemart 9 mēnešus atpakaļ
vecāks
revīzija
55e99ef76d
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      plugins/extras/asset-manager.js

+ 1
- 1
plugins/extras/asset-manager.js Parādīt failu

@@ -63,7 +63,7 @@ class AssetManager
63 63
 
64 64
         return new Promise((resolve, reject) => {
65 65
             const seconds = options.timeout !== undefined ? options.timeout : Infinity;
66
-            const timeoutFn = () => reject(new Error(`Can't preload assets: timeout!`));
66
+            const timeoutFn = () => reject(new Error(`Can't preload assets: slow connection!`));
67 67
             const timeoutId = isFinite(seconds) ? setTimeout(timeoutFn, seconds * 1000) : undefined;
68 68
 
69 69
             fetch(url)

Notiek ielāde…
Atcelt
Saglabāt