Modified exception-logging for plugin compilation to display more info