Skip to content

Commit c5040f1

Browse files
committed
Fix error logging for ip address retrieval
1 parent aa21e0e commit c5040f1

File tree

1 file changed

+1
-1
lines changed
  • src/main/kotlin/me/proxer/app/util

1 file changed

+1
-1
lines changed

src/main/kotlin/me/proxer/app/util/Utils.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ object Utils {
4040
.map { it.hostAddress }
4141
.firstOrNull()
4242
} catch (error: Throwable) {
43-
Timber.e("Error trying to get ip address", error)
43+
Timber.e(error, "Error trying to get ip address")
4444

4545
null
4646
}

0 commit comments

Comments
 (0)