Gracefully handle decoding errors