It is currently June 25th, 2019, 12:23 am

Log Errors Replacement

Help with creating, editing & fixing problems with skins
Yincognito
Posts: 652
Joined: February 27th, 2015, 2:38 pm

Log Errors Replacement

Yincognito » March 21st, 2019, 3:59 pm

I'm using a WebParser measure and, as expected, when there is an RegExp/connection/download error in parsing the result, the default Rainmeter error messages get written in the log. Thing is, I designed some more informative log messages for those cases, that I write using a [!Log "TypeOfError ActionThatTriggeredTheError SiteAddressAndParametersWhereTheErrorHappened"] bang. All goes well, but in the end I get two error messages in the log, the "default" one from Rainmeter and the one I set using the bang, which is kind of redundant. Is there a way to "replace" the error messages from Rainmeter with my custom messages and have only the latter in the log, since they're much more informative in my usage scenario?