ClanAODDev / AOD_RCT

0 stars 0 forks source link

error reporting #45

Open flashadvocate opened 9 years ago

flashadvocate commented 9 years ago

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.