Commit 60c07999 authored by Brendan Hoar's avatar Brendan Hoar Committed by GitHub

Linter - except must not be bare.

parent 44afb484
......@@ -293,7 +293,7 @@ def read_metadata_from_safetensors(filename):
res[k] = json.loads(v)
except Exception:
pass
except:
except Exception:
errors.report(f"Error reading metadata from file: {filename}", exc_info=True)
return res
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment