Skip to content

Commit

Permalink
Add better logging message
Browse files Browse the repository at this point in the history
  • Loading branch information
barseghyanartur committed Dec 25, 2019
1 parent d734d5c commit c577ffb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/matyan/fetchers/jira.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import logging
from typing import Dict

from atlassian import Jira
Expand Down Expand Up @@ -30,7 +29,9 @@ def get_instance(self) -> Jira:

def fetch_issue_data(self, issue_id: str) -> Dict[str, str]:
if not self.should_continue():
LOGGER.error("Skip after number of retries reached")
LOGGER.error(
f"Skip {issue_id} after global number of retries reached"
)
return {}

try:
Expand Down
1 change: 0 additions & 1 deletion src/matyan/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import json
import os
import re
import logging
import sys
from shutil import copyfile
from typing import Union, Dict, AnyStr, Type, Any, List
Expand Down

0 comments on commit c577ffb

Please sign in to comment.