에러 수정
This commit is contained in:
parent
1fc019257c
commit
f7f7dc16e9
1 changed files with 2 additions and 2 deletions
|
|
@ -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}';
|
||||
|
|
|
|||
Loading…
Reference in a new issue