Issue

@JsonClass(generateAdapter = true)
data class Issue @JvmOverloads constructor(val message: String, @Json(name = "log_message") val logMessage: String, @Json(name = "grouping_hash") val groupingHash: String, @Json(name = "retry_signal") val retrySignal: RetrySignal, val description: String? = null, @Json(name = "matching_text") val matchingText: List<String> = emptyList(), @Json(name = "matching_patterns") val matchingPatterns: List<Regex> = emptyList())(source)

An issue that can be reported to Bugsnag.

Constructors

Link copied to clipboard
constructor(message: String, @Json(name = "log_message") logMessage: String, @Json(name = "grouping_hash") groupingHash: String, @Json(name = "retry_signal") retrySignal: RetrySignal, description: String? = null, @Json(name = "matching_text") matchingText: List<String> = emptyList(), @Json(name = "matching_patterns") matchingPatterns: List<Regex> = emptyList())

Properties

Link copied to clipboard
val description: String? = null

an optional description of the issue. Not used in the CLI, just there for documentation in the config.

Link copied to clipboard

grouping hash for reporting to bugsnag. This should usually be unique, but can also be reused across issues that are part of the same general issue.

Link copied to clipboard

the message shown in the CI log when matchingText is found. Should be human-readable.

Link copied to clipboard

a list of matching regexp patterns to look for in the log.

Link copied to clipboard

a list of matching texts to look for in the log.

Link copied to clipboard

the message shown in the bugsnag report message. Should be human-readable.

Link copied to clipboard

the RetrySignal to use when this issue is found.