This alert message makes quite a bit of an assumption about what the publishing error is. Could we possibly infer the error from the object instead?