-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stacktrace formatter #19
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
src/components/LogsTable.tsx
Outdated
@@ -77,6 +98,24 @@ const stripAnsiCodes = (text: string) => { | |||
return text.replace(/\x1b\[\d+m/g, '') | |||
} | |||
|
|||
const FrameLine: React.FC<FrameLineProps> = ({ line }) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly made for conditionally surround it by a link or not
src/components/LogsTable.tsx
Outdated
@@ -106,6 +145,115 @@ const LogsTable: React.FC<LogsTableProps> = ({ logs }) => { | |||
[filteredLogs] | |||
) | |||
|
|||
const prettyPrintClojure = (str: string) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice thanks for making look good 😄 |
Fixing #18 along the way, I integrated an adapted stacktrace formatter I played around with.