The Magento, by default, does not keep a track of errors and exceptions. However, you can always <a href="https://meetanshi.com/blog/enable-magento-error-log/'>enable Magento error log to debug the issues. It is a way to tell Magento to save the error logs, which can be later used to audit and solve the errors!