From 9579cb79287b52bc73c6ba2f99f671009e2f5ea2 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Fri, 24 Aug 2018 14:33:32 +0300 Subject: [PATCH] config: fix ConfigError Signed-off-by: Ruslan Kuprieiev --- dvc/config.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dvc/config.py b/dvc/config.py index 18f5ddd61..352065fe3 100644 --- a/dvc/config.py +++ b/dvc/config.py @@ -10,8 +10,9 @@ from dvc.exceptions import DvcException class ConfigError(DvcException): """ DVC config exception """ - def __init__(self, ex=None): - super(ConfigError, self).__init__('Config file error', ex) + def __init__(self, msg, ex=None): + super(ConfigError, self).__init__('Config file error: {}'.format(msg), + ex) def supported_url(url):