Skip to content

Commit

Permalink
TCE-4618 enhancement(deldashlog): Add log for deleting dashboard; (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuesenxiong authored Jun 12, 2024
1 parent bce6bf7 commit c8b6b2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/api/dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ func (hs *HTTPServer) deleteDashboard(c *contextmodel.ReqContext) response.Respo
hs.log.Error("Failed to delete public dashboard")
}

hs.log.Warn("Deleting dashboard", "dashboard", dash.UID, "user", c.SignedInUser.GetLogin())
err = hs.DashboardService.DeleteDashboard(c.Req.Context(), dash.ID, c.SignedInUser.GetOrgID())
if err != nil {
var dashboardErr dashboards.DashboardErr
Expand Down

0 comments on commit c8b6b2f

Please sign in to comment.