Skip to content
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.

Misspelling templateUrl blocks application loading without any errors #389

Closed
tanelainla opened this issue May 16, 2017 · 0 comments
Closed

Comments

@tanelainla
Copy link

When I mistype templateUrl in the @Component annotation and then import that component into my root component then the application stops loading and I don't get any error message into logs/debugger. Tracking down these kind of issues in larger applications is a pain (commenting stuff out etc.). There should be graceful error like "Templete not found" or something similar.

@Component(
    selector: 'item-list',
    templateUrl: 'mis_spelled_garbage_here',
@matanlurey matanlurey self-assigned this Feb 7, 2018
matanlurey added a commit that referenced this issue Feb 8, 2018
It would be ideal to do this in a more unified manner, but that is a larger task:
#851

We likely would want to have a bit of design work here.

Closes #389.

PiperOrigin-RevId: 184901757
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants