This repository was archived by the owner on Jan 11, 2023. It is now read-only.
Show the exception message if one exists#2684
Merged
Merged
Conversation
clarkbw
reviewed
Apr 19, 2017
| return dom.div({ className: "message" }, message); | ||
| } | ||
|
|
||
| const exception = pauseInfo.getIn(["why"]).get("exception").toJS(); |
Contributor
There was a problem hiding this comment.
I think you should be able to do pauseInfo.getIn(["why", "exception"]) here. I'm pretty sure I did the getIn().get() pattern above for message and I think I made a mistake.
Codecov Report
@@ Coverage Diff @@
## master #2684 +/- ##
=========================================
+ Coverage 58.41% 58.9% +0.49%
=========================================
Files 55 56 +1
Lines 2164 2190 +26
Branches 427 432 +5
=========================================
+ Hits 1264 1290 +26
Misses 900 900
Continue to review full report at Codecov.
|
Contributor
|
Looks like we got a test failure, which can be run in the WTR https://github.com/devtools-html/debugger.html/blob/master/src/test/integration/runner.js#L78-L84 |
Contributor
Author
|
hmmm ... tests seem to pass locally for me |
Contributor
|
Hmm. I'll look
…On Fri, Apr 21, 2017 at 3:52 PM Hubert Boma Manilla < ***@***.***> wrote:
hmmm ... tests seem to pass locally for me
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2684 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAPiYni8TX8Iwkws2eyVyKsHqxvhOuVlks5ryQjzgaJpZM4NBmOU>
.
|
7103625 to
e6cbed0
Compare
Contributor
Contributor
Author
|
ahaa!! thanks. |
DanUgelow
pushed a commit
to DanUgelow/debugger.html
that referenced
this pull request
May 4, 2017
* Show the exception message if one exists * add jest snapshot tests for WhyPaused * do not convert to JS * Handle error strings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Associated Issue: #2677
Summary of Changes
Screenshots