diff --git a/frappe/utils/error.py b/frappe/utils/error.py index 2c66bd85e4..9269d6b3cb 100644 --- a/frappe/utils/error.py +++ b/frappe/utils/error.py @@ -157,7 +157,7 @@ def collect_error_snapshots(): fullpath = os.path.join(path, fname) try: - with open(fullpath, 'rb') as filedata: + with open(fullpath, 'r') as filedata: data = json.load(filedata) except ValueError: