Sometimes I have found an inconsistency gives a helpful clue of how to improve a theoretical investigation. Early on I viewed mistakes as hurdles. I still think they are hurdles but have many times found them to be helpful. My view is that it encourages persistence to know that mistakes are part of the process of figuring things out. Are there articles about the role of making mistakes in theoretical physics?