From 339745e72facf08996f298e5959f6b67f3344493 Mon Sep 17 00:00:00 2001 From: Simon J Mudd Date: Thu, 20 Feb 2020 09:00:54 +0100 Subject: [PATCH] Report function name correctly --- sqlutils/sqlutils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlutils/sqlutils.go b/sqlutils/sqlutils.go index 39c06c7..c38395b 100644 --- a/sqlutils/sqlutils.go +++ b/sqlutils/sqlutils.go @@ -217,7 +217,7 @@ func queryResultData(db *sql.DB, query string, retrieveColumns bool, args ...int var err error defer func() { if derr := recover(); derr != nil { - err = errors.New(fmt.Sprintf("QueryRowsMap unexpected error: %+v", derr)) + err = errors.New(fmt.Sprintf("queryResultData unexpected error: %+v", derr)) } }()