logging:mention the file path where errors come from
avoid this error "global name MultipleObjectsReturned is not defined"