4ef5883f by astaxie

if template not exist

1 parent e467a6ed
Showing 1 changed file with 4 additions and 1 deletions
...@@ -220,6 +220,9 @@ func Run() { ...@@ -220,6 +220,9 @@ func Run() {
220 GlobalSessions, _ = session.NewManager(SessionProvider, SessionName, SessionGCMaxLifetime) 220 GlobalSessions, _ = session.NewManager(SessionProvider, SessionName, SessionGCMaxLifetime)
221 go GlobalSessions.GC() 221 go GlobalSessions.GC()
222 } 222 }
223 BuildTemplate(ViewsPath) 223 err := BuildTemplate(ViewsPath)
224 if err != nil {
225 Warn(err)
226 }
224 BeeApp.Run() 227 BeeApp.Run()
225 } 228 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!