only log debugging information about read only properties when logging is enabled
This commit is contained in:
parent
bff8a80c19
commit
63b4b13387
1 changed files with 3 additions and 1 deletions
|
@ -136,7 +136,9 @@
|
|||
parentRef[lastPropertyName] = defaultBlockingProxy;
|
||||
return true;
|
||||
} catch (e) {
|
||||
console.log("Error instrumenting " + keyPath + ": " + e);
|
||||
if (shouldLog) {
|
||||
console.log("Error instrumenting " + keyPath + ": " + e);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue