Skip to content

Commit

Permalink
fix: add trace log to invalid state error
Browse files Browse the repository at this point in the history
Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
  • Loading branch information
c3y1huang authored and David Ko committed Oct 26, 2023
1 parent 380c0c3 commit ea219f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controller/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ func createOrUpdateAttachmentTicket(va *longhorn.VolumeAttachment, ticketID, nod

func handleReconcileErrorLogging(logger logrus.FieldLogger, err error, mesg string) {
if types.ErrorIsInvalidState(err) {
logger.WithError(err).Trace(mesg)
return
}

Expand Down

0 comments on commit ea219f0

Please sign in to comment.