Option to disable automatic error capturing

Hi @mohamed_jusail. I've replied to Dulajdeshan on the GitHub issue.