에러 수정

This commit is contained in:
leedongmyung 2024-01-02 14:53:40 +09:00
parent 1fc019257c
commit f7f7dc16e9

View file

@ -45,9 +45,9 @@ class Jira extends Command {
var summary = issue.fields?.summary;
if((arr != null && arr.isNotEmpty) || summary != null) {
var content = '';
try {
if(arr != null && arr.isNotEmpty) {
content = arr!.first.content!.first.text!;
} on Exception catch (e) {
} else {
content = summary!;
}
var browseUrl = 'https://${data.domain}/browse/${data.issue}';