Hey Andrii,
I’ve been using Sentry for logging errors in both WeWeb and Xano, and it’s been working pretty smoothly.
I created a global workflow that runs on app load (before fetching collections) and placed the following code in a JS block to capture and send all errors to Sentry, including Xano errors. It doesn’t require any custom API endpoints and is relatively easy to configure.
wwLib.getFrontWindow().axios.interceptors.response.use(
response => response,
error => {
// Capture all errors in Sentry
Sentry.captureException(error);
// Propagate the error to the rest of your error handling logic
return Promise.reject(error);
}
);
Hope that helps!