@tanstack/react-query 4.4.0 → 4.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1116,7 +1116,7 @@
|
|
|
1116
1116
|
var _this$cache$config$on2, _this$cache$config2;
|
|
1117
1117
|
|
|
1118
1118
|
if (typeof data === 'undefined') {
|
|
1119
|
-
onError(new Error(
|
|
1119
|
+
onError(new Error("Query data cannot be undefined - affected query key: " + this.queryHash));
|
|
1120
1120
|
return;
|
|
1121
1121
|
}
|
|
1122
1122
|
|