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
Copy file name to clipboardExpand all lines: src/vs/platform/telemetry/common/errorTelemetry.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -89,7 +89,7 @@ export default abstract class BaseErrorTelemetry {
89
89
90
90
// If it's the no telemetry error it doesn't get logged
91
91
// TOOD @lramos15 hacking in FileOperation error because it's too messy to adopt ErrorNoTelemetry. A better solution should be found
92
-
if(ErrorNoTelemetry.isErrorNoTelemetry(err)||errinstanceofFileOperationError||err?.message?.includes('Unable to read file')){
92
+
if(ErrorNoTelemetry.isErrorNoTelemetry(err)||errinstanceofFileOperationError||(typeoferr?.message==='string'&&err.message.includes('Unable to read file'))){
0 commit comments