-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Add support for full and partial call stacks, improved error handling in DashR #87
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
689e309
:sparkles: initial support for stack tracing
cfe9c49
:truck: add dependency on crayon :package:
897df31
:scissors: trim call stack from top also
0ad3b38
renamed stack trace fn
0d526b4
:sparkles: capture errors as warnings in debug mode
6291553
Merge branch '0.0.7-dev' into 0.0.7-debug
rpkyle d84b964
:sparkles: initial support for dash-renderer v23
0371634
resolved conflicts
73a429a
:bug: fix missing parenthesis
35dedac
rename pruned to pruned_errors
53b70dd
rename pruned to pruned_errors in utils.R also
151e838
:sparkles: add options for dev_tools_ui and dev_tools_props_check
140bf51
:sparkles: initial support for callback context
6fc1cac
throw error if request$body is NULL
96e4672
:raised_hand: warn if callback_context is undefined
e372c3c
:hocho: commented codeblock
cee5376
:sparkles: add support for debug mode tracebacks
b0de5a0
:raised_hand: only send tracebacks in debug mode
4103fdc
:pencil2: fix comment
rpkyle fca2474
:see_no_evil: remove browser
be94c47
Merge branch '0.0.7-debug' of github.com:plotly/dashR into 0.0.7-debug
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great. I think all you need to do to finish off the callback context part of this PR is set it back to
NULL
after thedo.call
below, and havecallback_context
throw an error if it findsNULL
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed in 6fc1cac
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh sorry - what I meant was, down here when you access
callback_context_
https://github.com/plotly/dashR/pull/87/files#diff-1881af3720f8f49fd3a44e51c9fb5a0dR489
At that point, if it's
NULL
, that means you're not in a callback so you shouldn't be able to access it, so throw an error.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed in 96e4672