Add exception handling to illegal messages in pilight