1
0
mirror of https://github.com/immich-app/immich.git synced 2025-12-01 00:18:16 +02:00

refactor(mobile): move error details to separate DB column (#6898)

* Add "details" column to LoggerMessage

* Include error details in log details page

* Move error details out of log message

* Add error message to mixin

* Create extension for HTTP Response logging

* Fix analyze errors

* format

* fix analyze errors, format again
This commit is contained in:
Robert Vollmer
2024-02-24 04:38:57 +01:00
committed by GitHub
parent 878932f87e
commit bc3979029d
28 changed files with 319 additions and 161 deletions

View File

@@ -0,0 +1,5 @@
import 'package:http/http.dart';
extension LoggerExtension on Response {
String toLoggerString() => "Status: $statusCode $reasonPhrase\n\n$body";
}