Closed BaderBC closed 10 months ago
Anyway, I think the way of storing rules is an issue that need to be discussed.
I agree with you. We should discuss it at our next meeting
Please don't use
panic
. Anyway, I think the way of storing rules is an issue that need to be discussed. Downloading and immediately deleting after use isn't good idea IMO. Moreover, when I saw function checking URL, I immediately thought of a library that should do this for us and should be available on the internet.
1) That was a draft, now everything looks different 2) Speaking about using panic, it's much more complicated than I thought. I cannot use error propagation because CheckRule function is directly invoked from lua. That's why I cannot propagate error higher that CheckRule. I was thinking about calling some function which will send appropriate message to CLI / GUI and then exit with code 1. But for now we have neither CLI nor GUI
Closes #21