Skip to content

Commit

Permalink
Console: Fix using the wrong object's class name for errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mattco98 committed Dec 26, 2023
1 parent 2b9e9dc commit b52fde5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ object ConsoleHostProcess {

fun printStackTrace(error: Throwable) {
fun makeError(err: Throwable): PrintErrorMessage.Error = PrintErrorMessage.Error(
error::class.qualifiedName?.let { "$it: " } + err.message.orEmpty(),
err::class.qualifiedName?.let { "$it: " } + err.message.orEmpty(),
err.stackTrace.map {
StackTrace(it.fileName, it.className, it.methodName, it.lineNumber)
},
Expand Down

0 comments on commit b52fde5

Please sign in to comment.