Rocky_Mountain_Vending/.pnpm-store/v10/files/7a/fa585302ebb1696fca5ad40189d169aa58041e94eed72a58582db4feda7b667dc4d009df307770a8044263ee324cae3134764b41b4d1fb3bdd4cb1b761db23
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

30 lines
820 B
Text

Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/**
* Get a list of possible event messages from a Sentry event.
*/
function getPossibleEventMessages(event) {
const possibleMessages = [];
if (event.message) {
possibleMessages.push(event.message);
}
try {
// @ts-expect-error Try catching to save bundle size
const lastException = event.exception.values[event.exception.values.length - 1];
if (lastException?.value) {
possibleMessages.push(lastException.value);
if (lastException.type) {
possibleMessages.push(`${lastException.type}: ${lastException.value}`);
}
}
} catch {
// ignore errors here
}
return possibleMessages;
}
exports.getPossibleEventMessages = getPossibleEventMessages;
//# sourceMappingURL=eventUtils.js.map