mirror of
https://github.com/greenshot/greenshot
synced 2025-08-21 05:53:27 -07:00
BUG-2115: This could potentially solve the issue, but there might be a next one as a follow up.
This commit is contained in:
parent
de2e92c7b6
commit
8fb430aaed
2 changed files with 22 additions and 8 deletions
|
@ -78,9 +78,17 @@ namespace GreenshotJiraPlugin {
|
|||
{
|
||||
if (_jiraIssue != null)
|
||||
{
|
||||
displayIcon = jiraConnector.GetIssueTypeBitmapAsync(_jiraIssue).Result;
|
||||
// Try to get the issue type as icon
|
||||
try
|
||||
{
|
||||
displayIcon = jiraConnector.GetIssueTypeBitmapAsync(_jiraIssue).Result;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Log.Warn($"Problem loading issue type for {_jiraIssue.Key}, ignoring", ex);
|
||||
}
|
||||
}
|
||||
else
|
||||
if (displayIcon == null)
|
||||
{
|
||||
displayIcon = jiraConnector.FavIcon;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue