Skip to content

Commit 5ef23bb

Browse files
committed
fix tests
1 parent c3f730e commit 5ef23bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

enterprise/coderd/licenses.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ func (api *API) deleteLicense(rw http.ResponseWriter, r *http.Request) {
212212
dl, err := api.Database.GetLicense(ctx, int32(id))
213213
if err != nil {
214214
// don't fail the HTTP request simply because we cannot audit
215-
api.Logger.Error(context.Background(), "could not retrieve license; cannot audit", slog.Error(err))
215+
api.Logger.Warn(context.Background(), "could not retrieve license; cannot audit", slog.Error(err))
216216
}
217217

218218
aReq, commitAudit := audit.InitRequest[database.License](rw, &audit.RequestParams{

0 commit comments

Comments
 (0)