Reputation: 1723
There is a communication between WS and my app. This data exchage is doing through a JSON object which is sending an attributes with null as a value.
The App was trusting blindly. JSON values were not checked and were written directly into the local DB. Then the app throw an exception.
I would like to know who has the reponsability of the error?
WS that has sent a unexpected value or the App should manage this value.
I have chosen to handle the values in the app.
Upvotes: 0
Views: 224
Reputation: 6847
Upvotes: 1