Skip to content

Commit ebff1db

Browse files
Fix fetch error
1 parent 1f12f42 commit ebff1db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ class ModelManager {
189189
if (url in this.modelJSONCache) {
190190
result = this.modelJSONCache[url];
191191
} else {
192-
const response = await fetch(url);
193192
try {
193+
const response = await fetch(url);
194194
result = await response.json();
195195
} catch {
196196
result = null;

0 commit comments

Comments
 (0)