mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 15:49:27 +08:00
On HarmonyOS, psutil.children() raises raw PermissionError for /proc/1/stat, which is not a psutil.Error subclass and used to 500 GET /api/v1/system/memory. Catch it and use the defensive /proc walker. Fixes #1076