UNPKG

autumn-js

Version:
20 lines (15 loc) 378 B
"use client"; // src/libraries/react/errorUtils/logFetchError.ts var logFetchError = ({ method, backendUrl, path, error }) => { console.error(`[Autumn] Fetch failed: ${method} ${backendUrl}${path} 1. Check that backendUrl in <AutumnProvider/> is correctly set. 2. Check that autumnHandler is correctly registered on your backend.`); }; export { logFetchError };