Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[FIX] iPhone error message handling

  • Loading branch information...
commit d8d257efdee13e71385f3df3d14c82e1e6393b19 1 parent 1e9f419
@dbankier authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 app/Resources/api/Utils.js
View
6 app/Resources/api/Utils.js
@@ -30,7 +30,9 @@ if (Ti.UI.Android) {
}
} else if (Ti.UI.iOS) {
extractExceptionData = function(e) {
-
+ if (e.file === undefined) {
+ return e.toString();
+ }
var parts = e.file.split('/');
var file;
var resIndexOf = parts.indexOf('Resources');
@@ -50,4 +52,4 @@ if (Ti.UI.Android) {
}
}
-exports.extractExceptionData = extractExceptionData;
+exports.extractExceptionData = extractExceptionData;
Please sign in to comment.
Something went wrong with that request. Please try again.