Skip to content

Override toString in InternalKSPException#2935

Merged
jaschdoc merged 1 commit intomainfrom
error-message-update
May 8, 2026
Merged

Override toString in InternalKSPException#2935
jaschdoc merged 1 commit intomainfrom
error-message-update

Conversation

@jaschdoc
Copy link
Copy Markdown
Collaborator

@jaschdoc jaschdoc commented May 7, 2026

As suggested by the comment, this prevents the big error message from being printed in the stack trace and ruining the usability of it.

@jaschdoc jaschdoc requested a review from troelsbjerre as a code owner May 7, 2026 16:19
Comment thread api/src/main/kotlin/com/google/devtools/ksp/errors/InternalKSPException.kt Outdated
@jaschdoc jaschdoc force-pushed the error-message-update branch from 934c3bc to c0719fe Compare May 8, 2026 11:19
As suggested by the comment, this prevents the big error message from being printed in the stack trace and ruining the usability of it.
@jaschdoc jaschdoc force-pushed the error-message-update branch from c0719fe to 7390cdc Compare May 8, 2026 11:19
@jaschdoc jaschdoc requested a review from troelsbjerre May 8, 2026 11:19
@jaschdoc jaschdoc merged commit 7f3b942 into main May 8, 2026
19 checks passed
@jaschdoc jaschdoc deleted the error-message-update branch May 8, 2026 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants