log if a  supposed query issue occurs - not sure if correct