packer/rpc: error instead of panic cancelling builder

This commit is contained in:
Mitchell Hashimoto 2013-08-23 13:58:00 -07:00
parent df70443a7c
commit 36b97b820f
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ func (b *builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
func (b *builder) Cancel() {
if err := b.client.Call("Builder.Cancel", new(interface{}), new(interface{})); err != nil {
panic(err)
log.Printf("Error cancelling builder: %s", err)
}
}