##// END OF EJS Templates
jsonalchemy: fix a case when default is not set and parsinge exception happens....
marcink -
r2396:6206bdd3 default
parent child Browse files
Show More
@@ -83,7 +83,7 b' class JSONEncodedObj(sqlalchemy.types.Ty'
83 83 try:
84 84 value = json.loads(value, object_pairs_hook=DictClass)
85 85 except Exception as e:
86 if self.safe:
86 if self.safe and self.default is not None:
87 87 return self.default()
88 88 else:
89 89 raise
General Comments 0
You need to be logged in to leave comments. Login now