Skip to content
Myr

Merge pull request #1869 from yamatt/master

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

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

authored by TJ Holowaychuk · committed by TJ Holowaychuk · parents e985167, fcbe53d · Browse files · 2 files+2 added−2 removed
This commit

State

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

Diff stats

2 files+2 added−2 removed

  • tests:+1 added−1 removed
  • other:+1 added−1 removed

2 files+2 added−2 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
modified:test/app.render.js+1 added-1 removed