Permalink
Browse files

#428: improve error information when render failed

  • Loading branch information...
1 parent b373e8f commit 2d44bf88de0b530da4f6980f61baeecb0b7cfc92 @lidaobing lidaobing committed Dec 29, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 controller.go
View
@@ -92,7 +92,7 @@ func (c *Controller) Render(extraRenderArgs ...interface{}) Result {
}
} else {
ERROR.Println("No RenderArg names found for Render call on line", line,
- "(Method", c.MethodType.Name, ")")
+ "(Action", c.Action, ")")
}
return c.RenderTemplate(c.Name + "/" + c.MethodType.Name + "." + c.Request.Format)

0 comments on commit 2d44bf8

Please sign in to comment.