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