Skip to content
This repository was archived by the owner on May 3, 2023. It is now read-only.

Commit b571aaf

Browse files
committed
Use console.error instead of re-throwing the error
1 parent 45374ea commit b571aaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ const elmWebComponents = {
8888
setupPorts(elmElement.ports)
8989
}
9090
} catch (error) {
91+
console.error(error)
9192
onSetupError(error)
92-
throw error
9393
}
9494
}
9595

0 commit comments

Comments
 (0)