From eb73f8d63b3cbc74b70699512c769e3827070afa Mon Sep 17 00:00:00 2001 From: Vladislav Veselskiy Date: Tue, 12 Mar 2024 13:34:05 +0300 Subject: [PATCH] Add error message for func SaveRow --- save.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/save.go b/save.go index fde35dc..3ac2757 100644 --- a/save.go +++ b/save.go @@ -96,7 +96,7 @@ func SaveRow(ctx context.Context, db *db.DBC, dataItem meta.IMetaStruct) error { if len(sqlSmt) > 200 { sqlSmt = sqlSmt[0:200] } - return errors.Errorf("%s (%s)", err.Error(), sqlSmt) + return errors.Errorf("Can not execute SaveRow. Got error from updateBuilder.ExecContext. %s (%s)", err.Error(), sqlSmt) } insertId, _ := res.LastInsertId()