Skip to content

Commit

Permalink
Fix exception logger
Browse files Browse the repository at this point in the history
  • Loading branch information
walkjivefly committed Dec 4, 2017
1 parent 7b1aebc commit 98ca311
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified LOC.oxt
Binary file not shown.
2 changes: 1 addition & 1 deletion src/generate_metainfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

# A unique ID for the extension.
addin_id = 'com.loc.crypto.getinfo'
addin_version = '0.2.0'
addin_version = '0.2.1'
addin_displayname = 'LOC-Extension: LibreOffice calc Cryptocurrency market functions.'
addin_publisher_link = 'https://github.com/walkjivefly/LOC-Extension'
addin_publisher_name = 'Mark Brooker'
Expand Down
2 changes: 1 addition & 1 deletion src/loc.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def ccxt( self, exchng, ticker, datacode='last' ):
result = 'Unsupported exchange: ' + exchng
logger.error('ccxt: {}'.format(result))
except:
logging.error('ccxt: exception {}'.format(sys.exc_info()[0]))
logger.error('ccxt: exception {}'.format(sys.exc_info()[0]))
result = 'Exception encountered'
return result

Expand Down

0 comments on commit 98ca311

Please sign in to comment.