write provider panics to error

We no longer have to hide these from panicwrap
This commit is contained in:
James Bardin 2021-10-27 17:13:00 -04:00
parent f031fcaa97
commit d2d2508f5c
1 changed files with 1 additions and 3 deletions

View File

@ -316,9 +316,7 @@ func realMain() int {
// plugins crashing
if exitCode != 0 {
for _, panicLog := range logging.PluginPanics() {
// we don't write this to Error, or else panicwrap will think this
// process panicked
Ui.Info(panicLog)
Ui.Error(panicLog)
}
}