Commit 72178657 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

packer/rpc: Convert any errors in configure to basic error

parent 2e1b69ad
......@@ -61,6 +61,10 @@ func (p *postProcessor) PostProcess(ui packer.Ui, a packer.Artifact) (packer.Art
func (p *PostProcessorServer) Configure(raw *interface{}, reply *error) error {
*reply = p.p.Configure(*raw)
if *reply != nil {
*reply = NewBasicError(*reply)
}
return nil
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment