Is there an option within Stata to more clearly log errors when they occur? As an example, I recently saw this in my log:
All I really want is for Stata to also print the word "Error" to the log when an error occurs. This would make it much easier to run a search against the log to quickly find errors. Should I instead search for "r("? Looking at the documentation, it appears general commands store results in r(). In practice, however, if an r() shows up in my logs it tends to be reporting an error. Thanks!
file //path/to/file/my_file.dta not found
r(601); t=1.29 12:28:30
r(601); t=1.29 12:28:30

Comment