mirror of
https://github.com/silkimen/cordova-plugin-advanced-http.git
synced 2026-04-24 00:00:03 +08:00
Fix #185: need more detailed SSL error message
This commit is contained in:
@@ -104,6 +104,9 @@
|
||||
case -1009:
|
||||
// no connection
|
||||
return [NSNumber numberWithInt:3];
|
||||
case -1202:
|
||||
// untrusted SSL certificate
|
||||
return [NSNumber numberWithInt:-2];
|
||||
default:
|
||||
return [NSNumber numberWithInt:-1];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user