Skip to content

Checking Exceptions throwing by KSP processor #325

Open
@vdshb

Description

@vdshb

I want to check exception that my KSP processor throwing. But compilation.compile() is not re-throwing it, but logging instead:

e: Error occurred in KSP, check log for detail
e: [ksp] <... stack trace ...>

Is there an option to make com.tschuchort.compiletesting.KotlinCompilation#compile re-throw exceptions from KSP processor?

It's worth adding such option if it's not exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions