Source: EasyReflectometryApp/Backends/Py/analysis.py:1354 — DEEP_ANALYSIS.md §5 item 1
logger.exception('Failed to save Bayesian plot to %s', save_path, exc)
The format string has one %s but two arguments are passed (save_path, exc). The logging call itself raises a formatting error (caught and printed by the logging machinery) every time this error path runs.
Fix: Drop exc — logger.exception already appends the traceback.
Source:
EasyReflectometryApp/Backends/Py/analysis.py:1354— DEEP_ANALYSIS.md §5 item 1The format string has one
%sbut two arguments are passed (save_path,exc). The logging call itself raises a formatting error (caught and printed by the logging machinery) every time this error path runs.Fix: Drop
exc—logger.exceptionalready appends the traceback.