On Fri Sep 23 10:07:32 2022 +0000, Huw Davies wrote:
It may be cleaner to have `load_app_registry()` return the error.
mmm not sure, I think I'll have to make a bigger refactor to actually get the code cleaner by returning the error. For example when I use `if (get_error()) delete_key(key, 0)`, I will have to repeat code for the load_app_registry case or modify load_registry and the functions it calls to also return the error. I think another option could be to use `set_error` and also return the error.