Skip to content

Commit

Permalink
dump login error to logger
Browse files Browse the repository at this point in the history
  • Loading branch information
andylytical committed Jan 10, 2024
1 parent e88a95c commit be2a365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jiracmdline/libjira.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ def jira_login( token=None, username=None, passwd=None ):
try:
raw_connection = jira.JIRA( **params )
except jira.exceptions.JIRAError as e:
logr.debug( f"Caught error:\n{e}" )
if e.status_code != 401:
raise e
# return jira_connection.Jira_Connection( raw_connection )
return raw_connection


Expand Down

0 comments on commit be2a365

Please sign in to comment.