mirror of
https://github.com/Garmelon/PFERD.git
synced 2025-09-18 01:42:32 +02:00
Use utf-8 for report
This commit is contained in:
@@ -503,7 +503,7 @@ class OutputDirectory:
|
||||
try:
|
||||
self._prev_report = Report.load(self._report_path)
|
||||
log.explain("Loaded report successfully")
|
||||
except (OSError, json.JSONDecodeError, ReportLoadError) as e:
|
||||
except (OSError, UnicodeDecodeError, json.JSONDecodeError, ReportLoadError) as e:
|
||||
log.explain("Failed to load report")
|
||||
log.explain(str(e))
|
||||
|
||||
|
Reference in New Issue
Block a user