aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/main.js')
-rw-r--r--src/js/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/main.js b/src/js/main.js
index 3cd60ca..afc5ebc 100644
--- a/src/js/main.js
+++ b/src/js/main.js
@@ -400,7 +400,7 @@ export function registerPorts(elmApp, settings = {}) {
});
});
} else {
- throw new Error(
+ console.warn(
`Expected Elm App to expose ${
options.outgoingPort
} port. Please add https://github.com/gampleman/elm-mapbox/blob/master/examples/MapCommands.elm to your project and import it from your Main file.`