mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
[rdct-tests] dump heap when the exception is received from agent directly
GitOrigin-RevId: d9ef43b8151c9e91d8fc9828a6be2af61d1e3a36
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1da8465556
commit
9c88d9696a
@@ -14,11 +14,13 @@ fun getAsPartOfArtifactsFileName(text: String): String =
|
||||
.replace("_+".toRegex(), "_")
|
||||
|
||||
@ApiStatus.Internal
|
||||
fun getArtifactsFileName(actionName: String, suffix: String? = null, extension: String, timeStamp: LocalTime = LocalTime.now()): String =
|
||||
fun getArtifactsFileName(actionName: String, suffix: String? = null, extension: String? = null, timeStamp: LocalTime = LocalTime.now()): String =
|
||||
buildString {
|
||||
append(getAsPartOfArtifactsFileName(actionName)
|
||||
.take(maxActionLength))
|
||||
append(suffix?.let { "-$it" }.orEmpty())
|
||||
append("-at_${timeStamp.format(ofPattern("HHmmss"))}")
|
||||
append(".$extension")
|
||||
if (extension != null) {
|
||||
append(".$extension")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user