Fix for missing error messages

Occasionally, error messages would not be added to the order status.