Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Console logs missing exception/error info #205

@Zekfad

Description

@Zekfad

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):

  • OS: Windows 10
  • Browser Chrome
  • Version 124.0.6367.8

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';
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions