It is currently April 23rd, 2024, 8:47 pm

Log Errors Replacement

Get help with creating, editing & fixing problems with skins
User avatar
Yincognito
Rainmeter Sage
Posts: 7151
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Log Errors Replacement

Post by Yincognito »

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?
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth