From bf4f9c0506ac0612ef49ee3e5c54278f7e60bb31 Mon Sep 17 00:00:00 2001 From: Romein van Buren Date: Thu, 19 Jan 2023 15:07:40 +0100 Subject: [PATCH] Altered remove error messages --- internal/app/collection_remove.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/app/collection_remove.go b/internal/app/collection_remove.go index 046d5d6..ee9aa05 100644 --- a/internal/app/collection_remove.go +++ b/internal/app/collection_remove.go @@ -59,7 +59,7 @@ func (a *App) RemoveItems(hostKey, dbKey, collKey, jsonData string, many bool) i fmt.Println(err.Error()) runtime.MessageDialog(a.ctx, runtime.MessageDialogOptions{ Type: runtime.ErrorDialog, - Title: "Encountered an error while performing query", + Title: "Encountered an error while removing items", Message: err.Error(), }) return 0 @@ -84,7 +84,7 @@ func (a *App) RemoveItemById(hostKey, dbKey, collKey, itemId string) bool { fmt.Println(err.Error()) runtime.MessageDialog(a.ctx, runtime.MessageDialogOptions{ Type: runtime.ErrorDialog, - Title: "Encountered an error while performing query", + Title: "Encountered an error while removing item" + itemId, Message: err.Error(), }) return false