Preventing emails about handled errors and exceptions?

I’ve got an EmailLogRoute set up to email me errors, but I also registered my own custom onShutdownHandler that now captures most of the errors of my application. Is there a way to cleanly have the handler capture the error so it doesn’t get emailed to me separately by the EmailLogRoute?