MCPcopy
hub / github.com/borgbackup/borg / log_error

Method log_error

src/borg/repository.py:296–299  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

294 """Check repository consistency"""
295
296 def log_error(msg):
297 nonlocal obj_corrupted
298 obj_corrupted = True
299 logger.error(f"Repo object {info.name} is corrupted: {msg}")
300
301 def check_object(obj):
302 """Check if obj looks valid."""

Callers

nothing calls this directly

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected