In the event of an illegal query string input, transmit the sanitised...

value from the message without the whole exception