Akka how to detect message that failed to serialize or deserialize

Hey! I want to detect messages that have not been properly processed. I’m using proto and when I get a large size message it throws an error “Could not serialize message”, I check deadLetters but that message doesn’t fit in deadLetter. How to detect these messages? Help!