mirror of
https://github.com/usememos/memos.git
synced 2025-02-01 01:58:14 +08:00
chore: skip invalida setting checks
This commit is contained in:
parent
df5aeb6d88
commit
1b81999329
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ func (s *APIV1Service) GetSystemStatus(c echo.Context) error {
|
||||||
var baseValue any
|
var baseValue any
|
||||||
err := json.Unmarshal([]byte(systemSetting.Value), &baseValue)
|
err := json.Unmarshal([]byte(systemSetting.Value), &baseValue)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Warn("Failed to unmarshal system setting value", zap.String("setting name", systemSetting.Name))
|
// Skip invalid value.
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue