dvc: add a note about dvc.org/support to error msgs

Fixes #1152

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2018-10-05 21:26:55 +03:00
parent 2c9b08a89b
commit 7b36fd007c
+3 -1
View File
@@ -105,7 +105,9 @@ class Logger(object):
if Logger.logger().getEffectiveLevel() == logging.DEBUG and exc:
str_tb = str_tb if str_tb else traceback.format_exc()
Logger.logger().error(prefix + str_tb)
return Logger.logger().error(prefix + msg + str_exc)
chat = "\n\nHaving any troubles? Hit us up at dvc.org/support, " \
"we are always happy to help!"
return Logger.logger().error(prefix + msg + str_exc + chat)
@staticmethod
def warn(msg):