Skip to content

Commit 18a545e

Browse files
authored
fix: Fix database version warning message (#1485)
### Description Fix the error in the warning message about the database version
1 parent 151bf81 commit 18a545e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crawlee/storage_clients/_sql/_storage_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ async def initialize(self, configuration: Configuration) -> None:
149149
# Raise an error if the new version creates breaking changes in the database schema.
150150
if db_version and db_version != __version__:
151151
warnings.warn(
152-
f'Database version {db_version.version} does not match library version {__version__}. '
152+
f'Database version {db_version} does not match library version {__version__}. '
153153
'This may lead to unexpected behavior. Drop the db if you want to make sure that '
154154
'everything will work fine.',
155155
category=UserWarning,

0 commit comments

Comments
 (0)