needs to be improved. Many of the ajax functions do not throw visible errors when something breaks. We need some error assignment so we can properly handle these when they happen without divulging specifics.
This is a somewhat good example of what we want. Rather than failing and halting the script, we return visible results to the user, so we know exactly what happened.
needs to be improved. Many of the ajax functions do not throw visible errors when something breaks. We need some error assignment so we can properly handle these when they happen without divulging specifics.
https://github.com/flashadvocate/AOD_RCT/blob/master/application/lib.php#L701
This is a somewhat good example of what we want. Rather than failing and halting the script, we return visible results to the user, so we know exactly what happened.