diff --git a/packages/kit/src/runtime/client/fetcher.js b/packages/kit/src/runtime/client/fetcher.js index 552bae15eadd..a20f4d1c93e3 100644 --- a/packages/kit/src/runtime/client/fetcher.js +++ b/packages/kit/src/runtime/client/fetcher.js @@ -27,6 +27,9 @@ if (import.meta.env.DEV) { const stack = /** @type {string} */ (new Error().stack); const heuristic = can_inspect_stack_trace ? stack.includes('load_node') : loading; +console.log(`heuristic: ${!!heuristic}`) +console.log(`can_inspect_stack_trace: ${!!can_inspect_stack_trace}`) +console.log(`loading: ${loading}`) if (heuristic) { console.warn( `Loading ${url} using \`window.fetch\`. For best results, use the \`fetch\` that is passed to your \`load\` function: https://kit.svelte.dev/docs/load#making-fetch-requests`