[IMPROVED] More SQL logging on failed DB events in crons