pulumi/pkg/util/contract/failfast.go
Pat Gavlin a23b10a9bf
Update the copyright end date to 2018. (#1068)
Just what it says on the tin.
2018-03-21 12:43:21 -07:00

13 lines
252 B
Go

// Copyright 2016-2018, Pulumi Corporation. All rights reserved.
package contract
import (
"fmt"
)
// failfast logs and panics the process in a way that is friendly to debugging.
func failfast(msg string) {
panic(fmt.Sprintf("fatal: %v", msg))
}