Repository navigation
Ensure attaching to an application with an existing DDS instance is not treated as a fatal error - #70847
Merged
Conversation
Contributor
|
I tried merging these changes locally for testing, though I still see this issue (it prints it as a warning, but then also as an error and quits): If I reproduce using just the terminal, the process doesn't quit (it's probably VS Code doing that when it gets the |
Contributor
|
FYI @bkonyi I'll be OOO if you get time to come back to this. |
bkonyi
force-pushed
the
fix_existing_dds_attach_retry
branch
from
December 3, 2020 21:43
51381ee to
d5c30be
Compare
Contributor
Author
|
Confirmed the behavior you're seeing @DanTup. I'll take a look today. |
| } on dds.DartDevelopmentServiceException catch (e) { | ||
| logger.printTrace('Warning: Failed to start DDS: ${e.message}'); | ||
| if (e.errorCode == dds.DartDevelopmentServiceException.existingDdsInstanceError) { | ||
| _existingDdsUri = Uri.parse( |
Contributor
There was a problem hiding this comment.
As a cleanup it would be nice to provide this as an optional field on the DartDevelopmentServiceException
…ot treated as a fatal error
bkonyi
force-pushed
the
fix_existing_dds_attach_retry
branch
from
December 5, 2020 00:13
b1712e1 to
165413f
Compare
Contributor
|
Works now, thanks! |
Closed
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

@DanTup, this should fix Dart-Code/Dart-Code#2936.
Re-upload of #70792 since I apparently don't know how to Git.