From 6ad8b410472b9853558361ab733ad740e89e2774 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 }