pcmt/main.go
leo 3a2f85f683
All checks were successful
continuous-integration/drone/push Build is passing
feat: add license headers (+spdx id)
2023-05-20 20:15:57 +02:00

20 lines
330 B
Go

// Copyright 2023 wanderer <a_mirre at utb dot cz>
// SPDX-License-Identifier: AGPL-3.0-only
package main
import (
"os"
"golang.org/x/exp/slog"
)
func main() {
err := run()
if err != nil {
l := slog.New(slog.NewJSONHandler(os.Stderr))
l.Error("unrecoverable failure, stopping the app", "error", err)
os.Exit(1)
}
}