Comments (5)
Can you maybe provide more details on how to reproduce this or ideally a repo which shows the error?
from ember-lazy-mount.
I published a new release, which may fix this issue via d30931e. Can you give it a try?
from ember-lazy-mount.
Apologies for letting this go stale.
A real simple example:
{{lazy-mount 'an-engine-that-does-not-exist'}}
-> silent failure
{{mount 'an-engine-that-does-not-exist'}}
-> raises an exception the engine 'an-engine-that-does-not-exist' can not be found.
(Although 'does not exist' may not be accurate... but better: that isn't set up correctly yet)
from ember-lazy-mount.
This is actually intended behavior. If the engine cannot be loaded, e.g. because it does not exist, the error is yielded to the component block.
ember-lazy-mount/tests/integration/components/lazy-mount-test.js
Lines 37 to 50 in a518818
Can you check, whether this works as expected?
#93 is about making this info available as a hook as well, so you can trigger something in response to a failure.
from ember-lazy-mount.
Oh interesting, I didn't know about this! Okay, I think this should be closed then.
Thanks!
from ember-lazy-mount.
Related Issues (8)
- Write tests HOT 1
- Uncaught TypeError: params is not iterable HOT 4
- Element descriptor's .kind property "undefined" on Ember 3.6 HOT 3
- Dummy engine makes it into builds HOT 1
- onLoad and onError actions HOT 5
- Service state in host app missing from engine, is it possible to get the state to share? HOT 1
- General maintenance, convert addon to v2 format HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-lazy-mount.