scotttrinh/shootproof-js-sdk
Check "stat" property for errors and failures
Aperta
#2 aperta il 22 feb 2016
help wanted
Metriche repository
- Star
- (1 stella)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
Looks like the server returns a 200 even on errors, but passes back an error object. Let's add response parsing to check for a successful status and reject on errors. Need some feedback about the possible responses, or at least the possible stat values.