Address PR review: truncate error response logs and close http client

- Gate full error response body logging behind kDebugMode; truncate to
  500 chars in release builds to avoid log noise and data exposure
- Add RoutingService.close() and call from NavigationState.dispose()

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Doug BorgandClaude Opus 4.6 authored and Doug Borg committed 2026-02-09 14:32:34 -07:00
1 parent 71776ee8f0
commit 5abcc58a78
2 files changed
+19 -2

No files matched your search

+6
View File
@@ -376,4 +376,10 @@ class NavigationState extends ChangeNotifier {
notifyListeners();
}
}
@override
void dispose() {
_routingService.close();
super.dispose();
}
}