Catching exception that is thrown when invalid input comes in via GELF processor.

Fixes #426