This repository was archived by the owner on Oct 14, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/main/kotlin/slack/cli/exec Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -27,14 +27,18 @@ import com.squareup.moshi.JsonClass
27
27
* @property matchingText the matching text to look for in the log.
28
28
* @property groupingHash grouping hash for reporting to bugsnag. This should usually be unique, but
29
29
* can also be reused across issues that are part of the same general issue.
30
+ * @property retrySignal the [RetrySignal] to use when this issue is found.
31
+ * @property description an optional description of the issue. Not used in the CLI, just there for
32
+ * documentation in the config.
30
33
*/
31
34
@JsonClass(generateAdapter = true )
32
35
internal data class Issue (
33
36
val message : String ,
34
37
@Json(name = " log_message" ) val logMessage : String ,
35
38
@Json(name = " matching_text" ) val matchingText : String ,
36
39
@Json(name = " grouping_hash" ) val groupingHash : String ,
37
- @Json(name = " retry_signal" ) val retrySignal : RetrySignal
40
+ @Json(name = " retry_signal" ) val retrySignal : RetrySignal ,
41
+ val description : String? = null ,
38
42
) {
39
43
40
44
private fun List<String>.checkContains (errorText : String ): Boolean {
You can’t perform that action at this time.
0 commit comments