-
Notifications
You must be signed in to change notification settings - Fork 40.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Retry upload for any SocketException not just a ConnectException
Previously, DevTools would retry the upload of the changes to an application in the event of a ConnectException. If a different network-level failure occurred, it would not be retried and would cause the file watching thread to die. This commit attempts to make things more robust by retrying all SocketExceptions and not just ConnectExceptions. A warning is logged when a failure occurs. A separate debug message that includes the exception is also logged. Closes gh-10317
- Loading branch information
1 parent
ad82e8d
commit 1be794f
Showing
2 changed files
with
9 additions
and
8 deletions.
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