robfig/revel — pull request #230 by plroman (2013-07-18 11:02:50+00:00)
Title: Fix call to Message() in Validation.Error()

When you call Error() with only one argument, e.g c.Validation.Error("Nope"), printing the error won't display just "Nope", but something like "Nope%!(EXTRA []interface {}=[[]])".

Turns out, forgetting the "..." in the Message() call makes len(args) equals 1 in Message(), hence a useless call to fmt.Sprintf() in Message(), and a very unpleasant display.