-
-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Description
Describe the bug
If we use TalkerDioLogger it produces DioErrorLog once the request fails.
But the parent TalkerLog fields are empty.
It produces issues because you can't use the TalkerLog abstraction; you need to cast it to DioErrorLog to log it properly.
To Reproduce
Steps to reproduce the behavior:
// setup Interceptor
final _developmentNetworkLoggerInterceptor = TalkerDioLogger(
talker: talker,
settings: const TalkerDioLoggerSettings(
printRequestHeaders: true,
printResponseHeaders: true,
),
);
- Fail Network call
- See the log in the debugger.
Expected behavior
Fields: logLevel, exception, stackTrace. are not null
Screenshots

Metadata
Metadata
Assignees
Labels
No labels