Fixed exception logging in SQLCommander.queryUsers().