Commit ad63c6ac authored by eduardmisa's avatar eduardmisa

error handling

parent a2eb44e1
......@@ -29,7 +29,7 @@ def model_to_dict(instance):
return strData
except expression as identifier:
except Exception as e:
return 'Serialization Error'
......
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