write provider panics to error
We no longer have to hide these from panicwrap
This commit is contained in:
parent
f031fcaa97
commit
d2d2508f5c
4
main.go
4
main.go
|
@ -316,9 +316,7 @@ func realMain() int {
|
||||||
// plugins crashing
|
// plugins crashing
|
||||||
if exitCode != 0 {
|
if exitCode != 0 {
|
||||||
for _, panicLog := range logging.PluginPanics() {
|
for _, panicLog := range logging.PluginPanics() {
|
||||||
// we don't write this to Error, or else panicwrap will think this
|
Ui.Error(panicLog)
|
||||||
// process panicked
|
|
||||||
Ui.Info(panicLog)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue