trigger php error when query fails while writing logs to database
Merge branch 'master' of https://github.com/bmauser/psa