1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-30 08:17:18 +00:00
History, Books  & examples are updated.
This commit is contained in:
Makis Maropoulos
2016-06-28 18:06:52 +03:00
parent aa319fd8e4
commit 7e9dc068fb
4 changed files with 72 additions and 5 deletions

View File

@@ -476,7 +476,7 @@ func (ctx *Context) Render(name string, binding interface{}, layout ...string) e
func (ctx *Context) MustRender(name string, binding interface{}, layout ...string) {
if err := ctx.Render(name, binding, layout...); err != nil {
ctx.Panic()
ctx.framework.Logger.Dangerf("MustRender panics for client with IP: %s On template: %s", ctx.RemoteAddr(), name)
ctx.framework.Logger.Dangerf("MustRender panics for client with IP: %s On template: %s.Trace: %s\n", ctx.RemoteAddr(), name, err)
}
}