From b481f8ebd2e83bff16ba2e5dcb52327a6a20d82d Mon Sep 17 00:00:00 2001 From: Maikel Poot Date: Tue, 17 Oct 2023 11:40:05 +0200 Subject: [PATCH] fix: Missing variable --- launchpadtile.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/launchpadtile.go b/launchpadtile.go index 34caf0c..9813222 100644 --- a/launchpadtile.go +++ b/launchpadtile.go @@ -95,7 +95,7 @@ func (s *LaunchPadTileService) GetById(id int64) (result *model.LaunchPadTile, e _, err = s.sling.New().Get(idString).Receive(al, errorReport) if errorReport.Code > 0 { - err = errorReport.Wrap("Could not get LaunchPadTile %q. Error: %s", idString) + err = errorReport.Wrap("Could not get LaunchPadTile %q. Error: %s", idString, errorReport.Message) return } if err == nil && al == nil { @@ -114,7 +114,7 @@ func (s *LaunchPadTileService) DeleteById(id int64) (err error) { _, err = s.sling.New().Delete(idString).Receive(al, errorReport) if errorReport.Code > 0 { - err = errorReport.Wrap("Could not delete LaunchPadTile %q. Error: %s", idString) + err = errorReport.Wrap("Could not delete LaunchPadTile %q. Error: %s", idString, errorReport.Message) return } if err == nil && al == nil {