Use insertWithTags on diagnostic errors.