Frezyx / talker

☎️ Advanced error handler and logger for dart and flutter apps
https://pub.dev/packages/talker
MIT License
478 stars 57 forks source link

Console logs missing exception/error info #205

Closed Zekfad closed 5 months ago

Zekfad commented 5 months ago

Describe the bug Console logs missing exception/error info in verbose level.

To Reproduce Steps to reproduce the behavior:

  1. Use talker.verbose('Message', Exception(), StackTrace.current);
  2. Message and stack trace is present, but error is swallowed in console output.
  3. TalkerScreen displays error information.

Expected behavior Error should be printed as well.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (web):

Additional context To fix the problem TalkerData#generateTextMessage (talker/lib/src/models/talker_data.dart) should also include $displayError like so:

  String generateTextMessage() {
    return '$displayTitleWithTime$message$displayError$displayStackTrace';
  }
Frezyx commented 5 months ago

@Zekfad Hello! This issue was resolved in new 4.1.1 version