It might be better to output this error in other way (maybe part of the json) because once in a while this json parsing fails and then my i3statusbar is replaced complete by this message "Error in block...", because of that I have to disable the weather block so I can have my other blocks back.
This is likely caused by our poor handling of curl failures, as discussed in #292. I'll mark this as a duplicate for now, since it's already clear we need a better approach there.
I'm getting a message output: "Error in block: 'weather': Malformed JSON'
Ref: https://github.com/greshake/i3status-rust/blob/master/src/blocks/weather.rs#L100-L148
It might be better to output this error in other way (maybe part of the json) because once in a while this json parsing fails and then my i3statusbar is replaced complete by this message "Error in block...", because of that I have to disable the weather block so I can have my other blocks back.