declarative: Fix error message

There's no write property here, also print the actual error message.
This commit is contained in:
Aleix Pol 2024-04-21 17:10:14 +02:00
parent 80f310e2bd
commit 2bd8a00aaf

View file

@ -45,7 +45,7 @@ QtObject {
prop._value = result;
}
onError: message => {
console.warn("failed call", object, read, write, change)
console.warn("failed call", prop.object, prop.read, prop.change, message)
}
}