adding a log instead of throwing an error and killing the whole process