This change updates the shared API handler to import @sentry/nextjs as a namespace instead of a default export, which fixes exception reporting when errors are captured. It’s a small but important runtime fix in central error-handling code, so failed requests should now be logged to Sentry reliably again. The practical effect is better visibility into production API failures.

Fixed Sentry exception capture in the shared API handler by correcting the Next.js Sentry import. - lws803/GigaChadGPT