musikr: output stack trace in pipeline error
This commit is contained in:
@@ -26,7 +26,7 @@ import org.oxycblt.musikr.tag.interpret.PreSong
|
|||||||
class PipelineException(val processing: WhileProcessing, val error: Exception) : Exception() {
|
class PipelineException(val processing: WhileProcessing, val error: Exception) : Exception() {
|
||||||
override val cause = error
|
override val cause = error
|
||||||
|
|
||||||
override val message = "Error while processing ${processing}: $error"
|
override val message = "Error while processing ${processing}: ${error.stackTraceToString()}"
|
||||||
}
|
}
|
||||||
|
|
||||||
sealed interface WhileProcessing {
|
sealed interface WhileProcessing {
|
||||||
|
|||||||
Reference in New Issue
Block a user