mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* 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]>
9 lines
233 B
TypeScript
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;
|
|
}
|