01da5bdec7
Signed-off-by: Michael Mayer <michael@photoprism.app>
15 lines
195 B
Go
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())
|
|
}
|
|
}
|