This PR will revert the change from the previous one; though I don't think it would hurt anything. This also adds more specific error messages to errorResponseIfQueryBad as it currently returns the same message for six different instances which doesn't help differentiate where the error happens.
I originally assumed PHP was providing some kind of log entry for this error but it does not seem to based on what Emi found; makes this significantly harder to track down without specific message for each instance.
This PR will revert the change from the previous one; though I don't think it would hurt anything. This also adds more specific error messages to
errorResponseIfQueryBad
as it currently returns the same message for six different instances which doesn't help differentiate where the error happens.I originally assumed PHP was providing some kind of log entry for this error but it does not seem to based on what Emi found; makes this significantly harder to track down without specific message for each instance.