diff --git a/dvc/exceptions.py b/dvc/exceptions.py
index d3da24075..81eea2fa5 100644
--- a/dvc/exceptions.py
+++ b/dvc/exceptions.py
@@ -3,6 +3,8 @@ import traceback
 
 class DvcException(Exception):
     def __init__(self, msg, cause=None):
+        # NOTE: unlike python 3, python 2 doesn't have built-in support
+        # for chained exceptions, so we are using our own implementation.
         self.cause = cause
         self.cause_tb = None
         if cause:
diff --git a/dvc/logger.py b/dvc/logger.py
index 4c075f268..7624b3e74 100644
--- a/dvc/logger.py
+++ b/dvc/logger.py
@@ -30,6 +30,8 @@ def warning(message):
 def error(message=None):
     prefix = colorize('Error', color='red')
 
+    exception, stack_trace = _parse_exc()
+
     out = (
         '{prefix}: {description}'
         '\n'
@@ -37,8 +39,8 @@ def error(message=None):
         '\n'
         '{footer}'.format(
             prefix=prefix,
-            description=_description(message),
-            stack_trace=_stack_trace(),
+            description=_description(message, exception),
+            stack_trace=stack_trace,
             footer=_footer(),
         )
     )
@@ -188,21 +190,41 @@ def _add_handlers():
     logger.addHandler(sh_err)
 
 
-def _stack_trace():
-    trace = sys.exc_info()[2]
+def _walk_exc(exc):
+    exc_list = [str(exc)]
+    tb_list = [traceback.format_exc()]
 
-    if not is_verbose() or not trace:
-        return ''
+    # NOTE: parsing chained exceptions. See dvc/exceptions.py for more info.
+    while hasattr(exc, 'cause') and exc.cause is not None:
+        exc_list.append(str(exc.cause))
+        if hasattr(exc, 'cause_tb') and exc.cause_tb is not None:
+            tb_list.insert(0, str(exc.cause_tb))
+        exc = exc.cause
 
-    return '{line}\n{stack_trace}{line}\n'.format(
-        line=colorize('-' * 60, color='red'),
-        stack_trace=traceback.format_exc(),
-    )
+    return (exc_list, tb_list)
+
+
+def _parse_exc():
+    exc = sys.exc_info()[1]
+    if not exc:
+        return (None, '')
+
+    exc_list, tb_list = _walk_exc(exc)
+
+    exception = ': '.join(exc_list)
+
+    if is_verbose():
+        stack_trace = '{line}\n{stack_trace}{line}\n'.format(
+            line=colorize('-' * 60, color='red'),
+            stack_trace='\n'.join(tb_list),
+        )
+    else:
+        stack_trace = ''
 
+    return (exception, stack_trace)
 
-def _description(message):
-    exception = sys.exc_info()[1]
 
+def _description(message, exception):
     if exception and message:
         description = '{message} - {exception}'
     elif exception:
@@ -210,7 +232,7 @@ def _description(message):
     elif message:
         description = '{message}'
 
-    return description.format(message=message, exception=str(exception))
+    return description.format(message=message, exception=exception)
 
 
 def _footer():

logger: handle chained exceptions
Current logger logic introduced in https://github.com/iterative/dvc/pull/1454 doesn't handle chained exceptions as the old logic did. Since we need to support both python3 and python2, which doesn't have built-in support for exception chaining, we use our own chaining mechanism https://github.com/iterative/dvc/blob/master/dvc/exceptions.py#L6 . See https://github.com/iterative/dvc/blob/0.23.2/dvc/logger.py#L100 .
diff --git a/tests/test_logger.py b/tests/test_logger.py
index bd619489b..4ba48548e 100644
--- a/tests/test_logger.py
+++ b/tests/test_logger.py
@@ -1,3 +1,4 @@
+import traceback
 from mock import patch
 from unittest import TestCase
 
@@ -9,6 +10,7 @@ except ImportError:
 import logging
 import dvc.logger as logger
 from dvc.command.base import CmdBase
+from dvc.exceptions import DvcException
 
 
 class TestLogger(TestCase):
@@ -92,6 +94,55 @@ class TestLogger(TestCase):
 
         self.assertEqual(self.stderr, output)
 
+    def test_error_with_chained_exception_and_message(self):
+        try:
+            raise DvcException('exception', cause=Exception('cause'))
+        except Exception:
+            logger.error('message')
+
+        output = (
+            'Error: message - exception: cause\n'
+            '\n'
+            'Having any troubles? Hit us up at https://dvc.org/support,'
+            ' we are always happy to help!\n'
+        )
+
+        self.assertEqual(self.stderr, output)
+
+    def test_traceback(self):
+        stack_trace1 = 'stack_trace1\n'
+        stack_trace2 = 'stack_trace2\n'
+        try:
+            exc1 = Exception('exception1')
+            exc2 = DvcException('exception2', cause=exc1)
+            exc2.cause_tb = stack_trace1
+            exc3 = DvcException('exception3', cause=exc2)
+            exc3.cause_tb = stack_trace2
+            raise exc3
+        except Exception:
+            stack_trace3 = traceback.format_exc()
+            with logger.verbose():
+                logger.error('message')
+
+        output = (
+            'Error: message - exception3: exception2: exception1\n'
+            '{line}\n'
+            '{stack_trace1}'
+            '\n'
+            '{stack_trace2}'
+            '\n'
+            '{stack_trace3}'
+            '{line}\n'
+            '\n'
+            'Having any troubles? Hit us up at https://dvc.org/support,'
+            ' we are always happy to help!\n'
+        ).format(line='-' * 60,
+                 stack_trace1=stack_trace1,
+                 stack_trace2=stack_trace2,
+                 stack_trace3=stack_trace3)
+
+        self.assertEqual(self.stderr, output)
+
     def test_box(self):
         logger.box('message')
 

pip install -e .[all]
parse_log_pytest
requirements.txt
pytest>=3.3.1 nose>=1.3.7 mock>=2.0.0 coverage>=4.5.1 codecov>=2.0.15 xmltodict>=0.11.0 awscli>=1.14.18 google-compute-engine Pygments collective.checkdocs
apt-get update apt-get install -y gcc
3.6
requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
altgraph==0.17.4
appdirs==1.4.4
asciimatics==1.14.0
attrs==22.2.0
awscli==1.24.10
azure-common==1.1.28
azure-nspkg==3.0.2
azure-storage-blob==1.3.0
azure-storage-common==1.3.0
azure-storage-nspkg==3.1.0
bcrypt==4.0.1
boto==2.49.0
boto3==1.7.4
botocore==1.10.84
cachetools==4.2.4
certifi==2021.5.30
cffi==1.15.1
charset-normalizer==2.0.12
codecov==2.1.13
collective.checkdocs==0.2
colorama==0.4.4
configobj==5.0.8
configparser==5.2.0
coverage==6.2
cryptography==40.0.2
decorator==4.4.2
distro==1.9.0
docutils==0.16
-e git+https://github.com/iterative/dvc.git@80c5ff7b647f2006778ae459e752a2f615a9512f#egg=dvc
future==1.0.0
gitdb==4.0.9
GitPython==3.1.18
google-api-core==1.32.0
google-auth==1.35.0
google-cloud-core==0.28.1
google-cloud-storage==1.13.0
google-compute-engine==2.8.13
google-crc32c==1.3.0
google-resumable-media==2.3.3
googleapis-common-protos==1.56.3
grandalf==0.6
idna==3.10
importlib-metadata==4.8.3
iniconfig==1.1.1
jmespath==0.10.0
jsonpath-rw==1.4.0
macholib==1.16.3
mock==5.2.0
nanotime==0.5.2
networkx==2.5.1
nose==1.3.7
packaging==21.3
paramiko==3.5.1
pefile==2024.8.26
Pillow==8.4.0
pluggy==1.0.0
ply==3.11
protobuf==3.19.6
py==1.11.0
pyasn1==0.5.1
pyasn1-modules==0.3.0
pycparser==2.21
pydot==1.4.2
pyfiglet==0.8.post1
Pygments==2.14.0
PyInstaller==3.3.1
PyNaCl==1.5.0
pyparsing==3.1.4
pytest==7.0.1
python-dateutil==2.9.0.post0
pytz==2025.2
PyYAML==5.4.1
requests==2.27.1
rsa==4.7.2
s3transfer==0.1.13
schema==0.7.7
six==1.17.0
smmap==5.0.0
tomli==1.2.3
typing_extensions==4.1.1
urllib3==1.26.20
wcwidth==0.2.13
xmltodict==0.14.2
zc.lockfile==2.0
zipp==3.6.0

name: dvc
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2021.5.30=py36h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.3=he6710b0_2
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=21.2.2=py36h06a4308_0
  - python=3.6.13=h12debd9_1
  - readline=8.2=h5eee18b_0
  - setuptools=58.0.4=py36h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - altgraph==0.17.4
      - appdirs==1.4.4
      - asciimatics==1.14.0
      - attrs==22.2.0
      - awscli==1.24.10
      - azure-common==1.1.28
      - azure-nspkg==3.0.2
      - azure-storage-blob==1.3.0
      - azure-storage-common==1.3.0
      - azure-storage-nspkg==3.1.0
      - bcrypt==4.0.1
      - boto==2.49.0
      - boto3==1.7.4
      - botocore==1.10.84
      - cachetools==4.2.4
      - cffi==1.15.1
      - charset-normalizer==2.0.12
      - codecov==2.1.13
      - collective-checkdocs==0.2
      - colorama==0.4.4
      - configobj==5.0.8
      - configparser==5.2.0
      - coverage==6.2
      - cryptography==40.0.2
      - decorator==4.4.2
      - distro==1.9.0
      - docutils==0.16
      - future==1.0.0
      - gitdb==4.0.9
      - gitpython==3.1.18
      - google-api-core==1.32.0
      - google-auth==1.35.0
      - google-cloud-core==0.28.1
      - google-cloud-storage==1.13.0
      - google-compute-engine==2.8.13
      - google-crc32c==1.3.0
      - google-resumable-media==2.3.3
      - googleapis-common-protos==1.56.3
      - grandalf==0.6
      - idna==3.10
      - importlib-metadata==4.8.3
      - iniconfig==1.1.1
      - jmespath==0.10.0
      - jsonpath-rw==1.4.0
      - macholib==1.16.3
      - mock==5.2.0
      - nanotime==0.5.2
      - networkx==2.5.1
      - nose==1.3.7
      - packaging==21.3
      - paramiko==3.5.1
      - pefile==2024.8.26
      - pillow==8.4.0
      - pluggy==1.0.0
      - ply==3.11
      - protobuf==3.19.6
      - py==1.11.0
      - pyasn1==0.5.1
      - pyasn1-modules==0.3.0
      - pycparser==2.21
      - pydot==1.4.2
      - pyfiglet==0.8.post1
      - pygments==2.14.0
      - pyinstaller==3.3.1
      - pynacl==1.5.0
      - pyparsing==3.1.4
      - pytest==7.0.1
      - python-dateutil==2.9.0.post0
      - pytz==2025.2
      - pyyaml==5.4.1
      - requests==2.27.1
      - rsa==4.7.2
      - s3transfer==0.1.13
      - schema==0.7.7
      - six==1.17.0
      - smmap==5.0.0
      - tomli==1.2.3
      - typing-extensions==4.1.1
      - urllib3==1.26.20
      - wcwidth==0.2.13
      - xmltodict==0.14.2
      - zc-lockfile==2.0
      - zipp==3.6.0
prefix: /opt/conda/envs/dvc

tests/test_logger.py::TestLogger::test_error_with_chained_exception_and_message tests/test_logger.py::TestLogger::test_traceback
tests/test_logger.py::TestLogger::test_box tests/test_logger.py::TestLogger::test_cli tests/test_logger.py::TestLogger::test_debug tests/test_logger.py::TestLogger::test_error tests/test_logger.py::TestLogger::test_error_with_exception tests/test_logger.py::TestLogger::test_error_with_exception_and_message tests/test_logger.py::TestLogger::test_info tests/test_logger.py::TestLogger::test_is_quiet tests/test_logger.py::TestLogger::test_is_verbose tests/test_logger.py::TestLogger::test_level tests/test_logger.py::TestLogger::test_warning
dvc/logger.py dvc/exceptions.py
dvc/logger.py dvc/exceptions.py