More friendly messages when imports fail on app load #173
Labels
cleanup
developer-friendliness
Anything that helps people working on apps
good first issue
New contributors should be able to tackle this
help wanted
input needed
Implementation needs to be discussed
Some imports in certain ZPUI apps are not in the emulator requirements (tricky to install, or not that necessary for core functionality). To be exact:
(this one is non-critical, it only prevents encryption from working in Matrix)
(this one is critical as it prevents the systemctl app from working)
We need to silence those messages so that the logs are more readable when launching the emulator. Also, feel free to silence any additional ones. You can probably use the same technique that the nmap app does, printing a warning in logs and then showing a warning to the user when they try to enter the app
Thoughts:
callback()
/.on_start()
, but something like conditionaldel
will likely be an unwelcome hack. Something like "different return value forinit_app
to show the app is deactivated" could be a better idea, but then, restarting ZPUI to make an app work is something that is best avoided.The text was updated successfully, but these errors were encountered: