From bc51393c31082b64e584735e84df54153ec6feb2 Mon Sep 17 00:00:00 2001 From: Sergey Makarov Date: Thu, 28 Sep 2023 16:54:33 +0300 Subject: [PATCH] Minor: make error log more polished --- .../fingerprintjs/android/fingerprint/tools/logs/Messages.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fingerprint/src/main/java/com/fingerprintjs/android/fingerprint/tools/logs/Messages.kt b/fingerprint/src/main/java/com/fingerprintjs/android/fingerprint/tools/logs/Messages.kt index fc6ef60..ae74895 100644 --- a/fingerprint/src/main/java/com/fingerprintjs/android/fingerprint/tools/logs/Messages.kt +++ b/fingerprint/src/main/java/com/fingerprintjs/android/fingerprint/tools/logs/Messages.kt @@ -2,8 +2,7 @@ package com.fingerprintjs.android.fingerprint.tools.logs internal fun Logger.ePleaseReport(throwable: Throwable?) { e( - msg = "Unexpected error $throwable occurred. Feel free to create an issue at Github." + - " Error description: ${throwable?.message}", - throwable = throwable + msg = "Unexpected error occurred. Feel free to create an issue on Github.", + throwable = throwable, ) }