Closed budzanowski closed 3 months ago
We log a CAPI event before we send it with. We do that with the 'debug' param which makes it look like if the call always succeeds.
When the actual call fails we also create another log entry this time with 'error' parameter.
We should postpone writing the success log until we know if the call is a success or not.
We log a CAPI event before we send it with. We do that with the 'debug' param which makes it look like if the call always succeeds.
When the actual call fails we also create another log entry this time with 'error' parameter.
We should postpone writing the success log until we know if the call is a success or not.