Doxxing is bad, and that’s exactly what this person was trying to do. Just because it wasn’t successful, doesn’t mean it wasn’t harassment.
Additionally, that article makes it very unclear what, if anything, the officer did to warrant being identified. He performed his duties, while wearing a face mask (which everyone is encouraged to do now) which had a pattern some people don’t like.