photoprism/internal/config/err.go
Michael Mayer 01da5bdec7 CRC32: Move checksum generation to a dedicated package
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-20 14:56:07 +01:00

15 lines
195 B
Go

package config
import (
"errors"
)
var (
ErrReadOnly = errors.New("not available in read-only mode")
)
func LogErr(err error) {
if err != nil {
log.Errorf("config: %s", err.Error())
}
}