Skip to content

Commit

Permalink
fix: Missing variable
Browse files Browse the repository at this point in the history
  • Loading branch information
maikelpoot committed Oct 17, 2023
1 parent 5129eb2 commit b481f8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions launchpadtile.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down

0 comments on commit b481f8e

Please sign in to comment.