dashboard: try/catch + fix $TZ$ placeholder index in /api/dashboard

Clarifies the previous auto-committed change (87f3c8a):
- wrap handler in try/catch: DB errors now return 500 JSON instead of
  an unhandled rejection
- fix $TZ$ placeholder numbering: '$' + (n ? n : 0) + 1 concatenated
  the string before adding 1, producing '$01' instead of '$1'
- reindent cacheWrap callback body
This commit is contained in:
dev
2026-10-08 22:28:25 +03:00
parent 87f3c8a2f0
commit df9c67b047

Diff Content Not Available