We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ba0ef5 commit f2149f7Copy full SHA for f2149f7
src/client/packages/idom-client-react/src/server.js
@@ -10,8 +10,10 @@ 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 so we just re-throw.
15
+ // The caller is actually responsible for catching this error.
16
+ throw error;
17
});
18
19
mountLayoutWithWebSocket(
0 commit comments