MCPcopy Index your code
hub / github.com/dgraph-io/dgraph / CheckfNoTrace

Function CheckfNoTrace

x/error.go:45–49  ·  view source on GitHub ↗

CheckfNoTrace is Checkf without a stack trace.

(err error)

Source from the content-addressed store, hash-verified

43
44// CheckfNoTrace is Checkf without a stack trace.
45func CheckfNoTrace(err error) {
46 if err != nil {
47 log.Fatal(err.Error())
48 }
49}
50
51// CheckfNoLog exits on error without any message (to avoid duplicate error messages).
52func CheckfNoLog(err error) {

Callers 7

initCmdsFunction · 0.92
RunBulkLoaderFunction · 0.92
processSchemaFileMethod · 0.92
StartRaftNodesFunction · 0.92
initServiceFunction · 0.92
mainFunction · 0.92
initFunction · 0.85

Calls 2

FatalMethod · 0.80
ErrorMethod · 0.45

Tested by

no test coverage detected