From e9b7d5b19cd9172aa59dca8807b4cb500861daaf Mon Sep 17 00:00:00 2001 From: Jay Ohms Date: Mon, 21 Aug 2023 16:27:35 -0400 Subject: [PATCH] Include the stack trace in logged errors --- strada/src/main/kotlin/dev/hotwire/strada/StradaLog.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/strada/src/main/kotlin/dev/hotwire/strada/StradaLog.kt b/strada/src/main/kotlin/dev/hotwire/strada/StradaLog.kt index a27a0fa..91c63d4 100644 --- a/strada/src/main/kotlin/dev/hotwire/strada/StradaLog.kt +++ b/strada/src/main/kotlin/dev/hotwire/strada/StradaLog.kt @@ -32,5 +32,5 @@ internal fun logWarning(event: String, details: String) { } internal fun logError(event: String, error: Exception) { - StradaLog.e("$event: $error") + StradaLog.e("$event: ${error.stackTraceToString()}") }