We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f57546d + 41c0a7f commit b57d9beCopy full SHA for b57d9be
nbformat/v3/rwbase.py
@@ -25,7 +25,7 @@ def restore_bytes(nb):
25
if "jpeg" in output:
26
output.jpeg = output.jpeg.encode("ascii", "replace")
27
except KeyError as e:
28
- validator.ValidationError(f"The notebook was invalid missing the key: {e.message}")
+ raise validator.ValidationError(f"The notebook was invalid missing the key: {e.message}")
29
return nb
30
31
# output keys that are likely to have multiline values
0 commit comments