Exit with error

This commit is contained in:
Kevin Cotugno 2018-01-11 21:12:28 -08:00
parent 9dcc3387d2
commit 9cf1371366

View File

@ -94,7 +94,7 @@ func main() {
r.SetLogger(logger)
if err := r.Record(params.Products...); err != nil {
logger.Info("Error: %v", err)
return
os.Exit(3)
}
defer ls.Close()