Skip to content
Myr

Error message now describes where the view was not able to be found. Useful for debugging.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Matt Copperwaite · committed by Matt Copperwaite · parent a0c1ac7 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:lib/application.js+1 added-1 removed
488 unmodified lines
489 engines: engines490 });491492 if (!view.path) {493 var err = new Error('Failed to lookup view "' + name + '"');493 var err = new Error('Failed to lookup view "' + name + '" in views directory "' + view.root + '"');494 err.view = view;495 return fn(err);496 }497
37 unmodified lines