We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ba0ef5 commit 7cb1c30Copy full SHA for 7cb1c30
src/client/packages/idom-client-react/src/server.js
@@ -10,8 +10,9 @@ export function mountWithLayoutServer(
10
const loadImportSource = (source, sourceType) =>
11
import(
12
sourceType == "NAME" ? serverInfo.path.module(source) : source
13
- ).catch(() => {
14
- console.error("Import failed");
+ ).catch((error) => {
+ // added a catch to silence a build warning - caller should actually catch
15
+ throw error;
16
});
17
18
mountLayoutWithWebSocket(
0 commit comments