Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exception log messages are duplicated #12359

Closed
devoncarew opened this issue Aug 9, 2013 · 2 comments
Closed

exception log messages are duplicated #12359

devoncarew opened this issue Aug 9, 2013 · 2 comments
Assignees

Comments

@devoncarew
Copy link
Member

exceptions written to Console.log from WIP are duplicated. So doing something like int.parse("foo") throws an exception, but this is printed in the editor:

Exception: FormatException: abc
  int._native_parse (dart:core-patch/integers_patch.dart:54:3)
  int.parse (dart:core-patch/integers_patch.dart:59:59)
  reverseText (http://127.0.0.1:3030/Users/devoncarew/dart/polymer_test/web/polymer_test.dart:13:12)
Exception: FormatException: abc
  int._native_parse (dart:core-patch/integers_patch.dart:54:3)
  int.parse (dart:core-patch/integers_patch.dart:59:59)
  reverseText (http://127.0.0.1:3030/Users/devoncarew/dart/polymer_test/web/polymer_test.dart:13:12)

and here's what we receive from Dartium:

{"method":"Console.messageAdded","params":{"message":{"timestamp":1.376080711376144E9,"text":"Exception: FormatException: abc","level":"error","source":"javascript","column":3,"line":54,"repeatCount":1,"type":"log","url":"dart:core-patch/integers_patch.dart","stackTrace":[{"lineNu ... arew/dart/polymer_test/web/polymer_test.dart"}]}}}

{"method":"Console.messageRepeatCountUpdated","params":{"timestamp":1.376080711376884E9,"count":2}}

I don't think we should be getting a Console.messageRepeatCountUpdated message.

@jacob314
Copy link
Member

jacob314 commented Sep 2, 2013

Added Started label.

@jacob314
Copy link
Member

jacob314 commented Sep 4, 2013

Added Fixed label.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants