[plugin_core] Show errors when in debug log is on

As discussed with stbuehler on IRC.