Skip to content

Commit 9a5946b

Browse files
ignore d2c error
1 parent 9c009e8 commit 9a5946b

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

editor/scaffolds/code/index.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ export function CodeSegment() {
8686
framework: framework_config,
8787
asset_config: { skip_asset_replacement: true },
8888
build_config: build_config,
89-
}).then(on_result);
89+
})
90+
.then(on_result)
91+
.catch(console.error);
9092

9193
// build final code with asset fetch
9294
if (!MainImageRepository.instance.empty) {
@@ -95,7 +97,9 @@ export function CodeSegment() {
9597
framework: framework_config,
9698
asset_config: { asset_repository: MainImageRepository.instance },
9799
build_config: build_config,
98-
}).then(on_result);
100+
})
101+
.then(on_result)
102+
.catch(console.error);
99103
}
100104
}
101105
}, [targetted?.id, framework_config?.framework]);

0 commit comments

Comments
 (0)