From 39909736d8ddfbc0add0cce4c2430f3bd94c1989 Mon Sep 17 00:00:00 2001 From: David Scharf Date: Thu, 21 Mar 2024 17:59:39 +0100 Subject: [PATCH] improve no schema upgrade path exception (#1125) --- dlt/common/schema/exceptions.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dlt/common/schema/exceptions.py b/dlt/common/schema/exceptions.py index 7f73bcbf36..96341ab8b4 100644 --- a/dlt/common/schema/exceptions.py +++ b/dlt/common/schema/exceptions.py @@ -98,7 +98,9 @@ def __init__( self.to_engine = to_engine super().__init__( f"No engine upgrade path in schema {schema_name} from {init_engine} to {to_engine}," - f" stopped at {from_engine}" + f" stopped at {from_engine}. You possibly tried to run an older dlt" + " version against a destination you have previously loaded data to with a newer dlt" + " version." )