Removed logging for NameError