pcmt/main.go
surtur 64f330b034
All checks were successful
continuous-integration/drone/push Build is passing
go: bump deps
2023-08-02 15:14:44 +02:00

21 lines
386 B
Go

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