musikr: output stack trace in pipeline error
This commit is contained in:
parent
03ee8d299d
commit
c431e90af8
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue