Files
explore/lib/errors/getErrorStack.ts
T
2ff074ee3b Release v2.6.1 (#3247)
* essential dapps config: switch to concurrent request and and add worker termination

* fix rollbar error logging and enable it for server errors

* fix for tokens request on address page

* update generator script for multichain config

* fix hot contracts interval select

* update screenshot

* update screenshots

* pass chainId to trackTransaction for essential dapps

* fix vertical alignment in hot contracts table

* bump next.js to v15.5.10

---------

Co-authored-by: isstuev <[email protected]>
Co-authored-by: Max Alekseenko <[email protected]>
2026-02-03 18:05:00 +01:00

9 lines
233 B
TypeScript

export default function getErrorStack(error: Error | undefined): string | undefined {
return (
error && 'stack' in error &&
typeof error.stack === 'string' && error.stack !== null &&
error.stack
) ||
undefined;
}