Add the message from this qDebug to the LOG_FAILED_QUERY?