mirror of
https://github.com/KitsunePie/AppErrorsTracking.git
synced 2026-02-04 12:17:22 +08:00
Compare commits
3 Commits
3cfb1dc950
...
copilot/ad
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
092f50308d | ||
|
|
b89a4f3550 | ||
|
|
c4108069a9 |
@@ -59,7 +59,7 @@ androidComponents {
|
||||
// Workaround for GitHub Actions.
|
||||
// Strongly transfer type to [String].
|
||||
@Suppress("UNNECESSARY_SAFE_CALL")
|
||||
val currentSuffix = gropify.github.ci.commit.id?.let { suffix ->
|
||||
val currentSuffix = gropify.github.ci.commit.id?.let { suffix: String ->
|
||||
if (suffix.isNotBlank()) "-$suffix" else ""
|
||||
}
|
||||
val currentVersion = "${output.versionName.get()}$currentSuffix(${output.versionCode.get()})"
|
||||
|
||||
@@ -161,8 +161,8 @@ data class AppErrorsInfoBean(
|
||||
isAnr = true,
|
||||
exceptionClassName = "ANR",
|
||||
exceptionMessage = anrInfo?.cause ?: "Application Not Responding",
|
||||
throwFileName = anrInfo?.activity?.className ?: "unknown",
|
||||
throwClassName = anrInfo?.activity?.packageName ?: packageName ?: "unknown",
|
||||
throwFileName = anrInfo?.activity?.toString() ?: "unknown",
|
||||
throwClassName = packageName ?: "unknown",
|
||||
throwMethodName = "unknown",
|
||||
throwLineNumber = -1,
|
||||
stackTrace = anrInfo?.info?.trim() ?: "unknown",
|
||||
|
||||
Reference in New Issue
Block a user