From 7e7c134ec08e7a9fa2adc84a8a56dabe5a827ea1 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Sat, 27 Mar 2021 05:32:07 -0400 Subject: [PATCH] use exc --- archivebox/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archivebox/config.py b/archivebox/config.py index 803e4d19..1c284ae7 100644 --- a/archivebox/config.py +++ b/archivebox/config.py @@ -1077,7 +1077,7 @@ def setup_django(out_dir: Path=None, check_db=False, config: ConfigDict=CONFIG, cursor = sqlite3.connect(':memory:').cursor() cursor.execute('SELECT JSON(\'{"a": "b"}\')') except sqlite3.OperationalError as exc: - stderr('[X] Your SQLite3 version is missing the required JSON1 extension', color='red') + stderr(f'[X] Your SQLite3 version is missing the required JSON1 extension: {exc}', color='red') hint([ 'Upgrade your Python version or install the extension manually:', 'https://code.djangoproject.com/wiki/JSON1Extension'