mirror of
https://github.com/usememos/memos.git
synced 2025-01-31 17:48:12 +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
|
||||
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 a new issue