MCPcopy Create free account
hub / github.com/DBCDK/morph / handleError

Function handleError

morph.go:308–314  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

306}
307
308func handleError(err error) {
309 //Stupid handling of catch-all errors for now
310 if err != nil {
311 fmt.Fprintln(os.Stderr, err)
312 utils.Exit(1)
313 }
314}
315
316func execExecute(hosts []nix.Host) error {
317 sshContext := createSSHContext()

Callers 2

setupFunction · 0.85
mainFunction · 0.85

Calls 1

ExitFunction · 0.92

Tested by

no test coverage detected