Improve error handling when decoding multiple logs