print stack traces when errors happen in plugin loader