We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 574e544 commit 7392a8eCopy full SHA for 7392a8e
src/routing/handleLocationChange/handleLocationChange.ts
@@ -34,7 +34,7 @@ export function handleLocationChange(
34
broadcast(fourOhFour);
35
return;
36
} else if (match.type === "match-error") {
37
- console.error("Error matching route for", location.pathname);
+ console.error("Error matching route for", location.pathname, match.error);
38
39
} else {
40
console.log("[xstate-tree] matched route", match.event);
0 commit comments