Skip to content

Commit

Permalink
fix(CSI-241): add error logging during checking of target path
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeyberezansky committed Sep 2, 2024
1 parent f71d0f6 commit b513ff0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/wekafs/nodeserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ func (ns *NodeServer) NodeUnpublishVolume(ctx context.Context, req *csi.NodeUnpu
result = "SUCCESS"
return &csi.NodeUnpublishVolumeResponse{}, nil
} else {
logger.Error().Err(err).Msg("Failed to check target path")
return NodeUnpublishVolumeError(ctx, codes.Internal, "unexpected situation, please contact support")
}

Expand Down

0 comments on commit b513ff0

Please sign in to comment.