Addes catch for empty messages.