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 e56533c..fb7d44f 100644
--- a/src/js/main.js
+++ b/src/js/main.js
@@ -362,7 +362,7 @@ export function registerPorts(elmApp, settings = {}) {
}
});
} else {
- throw new Error(`Expected Elm App to expose ${elmApp.ports[options.outgoingPort]} port.`);
+ throw new Error(`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.`);
}
return elmApp;