misc: Hide some errors in non-debug builds
These two errors are useless for the users, they cannot do anything with them. While it can be useful to know them, they can be also disturbing and they just fill the journal log for the users.
Related to #753 (closed)
=====================================
An alternative solution would be to add a new build option, something like enable_maintainer_mode
, which can cover more similar things useful for the maintainers, but being useless for the users.
I've been also thinking of an environment variable to enable the g_warning()
-s, that could be for the plugin developers, but the GS_DEBUG
can already enable verbose logging, which covers the g_debug()
call.