mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 04:41:36 +08:00
Add temporary console trace to catch a crash on build machine
This commit is contained in:
@ -212,6 +212,10 @@ export class DependencyObservable extends Observable implements definition.Depen
|
|||||||
}
|
}
|
||||||
|
|
||||||
public _resetValue(property: Property, valueSource: number = ValueSource.Local): void {
|
public _resetValue(property: Property, valueSource: number = ValueSource.Local): void {
|
||||||
|
if (!property){
|
||||||
|
console.log(`>>>>>>>>>>>>>>>>>>>>>>>>>>>> Someone is passing undefined property!`);
|
||||||
|
console.trace();
|
||||||
|
}
|
||||||
let entry: PropertyEntry = this._propertyEntries[property.id];
|
let entry: PropertyEntry = this._propertyEntries[property.id];
|
||||||
if (!entry) {
|
if (!entry) {
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user