suppress error log when layout failed in an application scope. #12

Closed
yssk22 opened this Issue May 22, 2011 · 0 comments

Comments

Projects
None yet
1 participant
Owner

yssk22 commented May 22, 2011

If an application has no layout.ejs file, followings are logged.

[2011-05-22 17:03:07.113] [ERROR] console - undefined
[2011-05-22 17:03:07.113] [ERROR] console - failed to locate view "layout", tried:
[2011-05-22 17:03:07.113] [ERROR] console -   - /Users/yssk22/Dropbox/Repositories/sunrise/master/skeletons/app/_attachments/templates/layout.ejs
[2011-05-22 17:03:07.113] [ERROR] console -   - /Users/yssk22/Dropbox/Repositories/sunrise/master/skeletons/app/_attachments/templates/_layout.ejs
[2011-05-22 17:03:07.113] [ERROR] console -   - /Users/yssk22/Dropbox/Repositories/sunrise/master/skeletons/app/_attachments/templates/layout/index.ejs
[2011-05-22 17:03:07.113] [ERROR] console -   - /Users/yssk22/Dropbox/Repositories/sunrise/master/skeletons/app/_attachments/templates/layout.ejs
[2011-05-22 17:03:07.113] [ERROR] console - undefined

Actually these are not errors (recovered to use site-scope layout.ejs), so this logs should be suppressed.

yssk22 closed this in f4fba76 May 30, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment