You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
localize('enospcError',"Unable to watch for file changes. Please follow the instructions link to resolve this issue."),
@@ -87,6 +94,8 @@ export class WorkspaceWatcher extends Disposable {
87
94
88
95
// Detect when the watcher throws an error unexpectedly
89
96
elseif(msg.indexOf('EUNKNOWN')>=0){
97
+
reason='EUNKNOWN';
98
+
90
99
this.notificationService.prompt(
91
100
Severity.Warning,
92
101
localize('eshutdownError',"File changes watcher stopped unexpectedly. A reload of the window may enable the watcher again unless the workspace cannot be watched for file changes."),
@@ -100,6 +109,24 @@ export class WorkspaceWatcher extends Disposable {
100
109
}
101
110
);
102
111
}
112
+
113
+
// Detect unexpected termination
114
+
elseif(msg.indexOf('ETERM')>=0){
115
+
reason='ETERM';
116
+
}
117
+
118
+
// Log telemetry if we gathered a reason
119
+
if(reason){
120
+
typeWatchErrorClassification={
121
+
owner: 'bpasero';
122
+
comment: 'An event that fires when a watcher errors';
123
+
reason: {classification: 'SystemMetaData';purpose: 'PerformanceAndHealth';comment: 'The watcher error reason.'};
0 commit comments