Fix for a potential traceback (TypeError) during the handling of another error.

This commit is contained in:
Dan Helfman
2024-07-14 10:07:15 -07:00
parent 31778fd3bf
commit d44dc93509
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
1.8.14.dev0
* #896: Fix error in borgmatic rcreate/init on empty repository directory with Borg 1.4.
* #896: Fix an error in borgmatic rcreate/init on an empty repository directory with Borg 1.4.
* Fix for a potential traceback (TypeError) during the handling of another error.
* Add a recent contributors section to the documentation, because credit where credit's due! See:
https://torsion.org/borgmatic/#recent-contributors
+1 -1
View File
@@ -579,7 +579,7 @@ def load_configurations(config_filenames, overrides=None, resolve_env=True):
)
),
logging.makeLogRecord(
dict(levelno=logging.CRITICAL, levelname='CRITICAL', msg=error)
dict(levelno=logging.CRITICAL, levelname='CRITICAL', msg=str(error))
),
]
)