Added console message and null check for query emitter errors