From ad4cd6f70054d6037c8ab1d08610d3c2eff4409b Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Thu, 20 Sep 2018 20:44:56 +0000 Subject: [PATCH] Friendler error message if you got the right answer --- src/handlers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/handlers.go b/src/handlers.go index 3b0ec91..c9306fa 100644 --- a/src/handlers.go +++ b/src/handlers.go @@ -197,8 +197,8 @@ func (ctx *Instance) answerHandler(w http.ResponseWriter, req *http.Request) { if err := ctx.AwardPoints(teamid, category, points); err != nil { respond( w, req, Error, - "Error awarding points", - err.Error(), + "Cannot award points", + "The answer is correct, but there was an error awarding points: %v", err.Error(), ) return }