diff --git a/packages/wakatime/HISTORY.rst b/packages/wakatime/HISTORY.rst index affe44d..4928abd 100644 --- a/packages/wakatime/HISTORY.rst +++ b/packages/wakatime/HISTORY.rst @@ -3,6 +3,18 @@ History ------- +2.1.4 (2014-11-12) +++++++++++++++++++ + +- when Python was not compiled with https support, log an error to the log file + + +2.1.3 (2014-11-10) +++++++++++++++++++ + +- correctly detect branch name for subversion projects + + 2.1.2 (2014-10-07) ++++++++++++++++++ diff --git a/packages/wakatime/wakatime/__init__.py b/packages/wakatime/wakatime/__init__.py index e3bfb1b..fa9b7cb 100644 --- a/packages/wakatime/wakatime/__init__.py +++ b/packages/wakatime/wakatime/__init__.py @@ -13,7 +13,7 @@ from __future__ import print_function __title__ = 'wakatime' -__version__ = '2.1.3' +__version__ = '2.1.4' __author__ = 'Alan Hamlett' __license__ = 'BSD' __copyright__ = 'Copyright 2014 Alan Hamlett' @@ -318,7 +318,9 @@ def send_action(project=None, branch=None, stats=None, key=None, targetFile=None if offline: queue = Queue() queue.push(data, plugin) - if log.isEnabledFor(logging.DEBUG): + if 'unknown url type: https' in u(sys.exc_info()[1]): + log.error(exception_data) + elif log.isEnabledFor(logging.DEBUG): log.warn(exception_data) else: log.error(exception_data) diff --git a/packages/wakatime/wakatime/stats.py b/packages/wakatime/wakatime/stats.py index c23cb24..cee9421 100644 --- a/packages/wakatime/wakatime/stats.py +++ b/packages/wakatime/wakatime/stats.py @@ -30,6 +30,7 @@ EXTENSIONS = { 'j2': 'HTML', 'markdown': 'Markdown', 'md': 'Markdown', + 'mdown': 'Markdown', 'twig': 'Twig', } TRANSLATIONS = {