err process crash

When submit repeats，self.save will return an error. In error process the doc.title leads to a crash. Because origin_url or title are indexed to unique.