Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[FIX] iPhone error message handling

  • Loading branch information...
commit d8d257efdee13e71385f3df3d14c82e1e6393b19 1 parent 1e9f419
David Bankier authored

Showing 1 changed file with 4 additions and 2 deletions. Show diff stats Hide diff stats

  1. +4 2 app/Resources/api/Utils.js
6 app/Resources/api/Utils.js
@@ -30,7 +30,9 @@ if (Ti.UI.Android) {
30 30 }
31 31 } else if (Ti.UI.iOS) {
32 32 extractExceptionData = function(e) {
33   -
  33 + if (e.file === undefined) {
  34 + return e.toString();
  35 + }
34 36 var parts = e.file.split('/');
35 37 var file;
36 38 var resIndexOf = parts.indexOf('Resources');
@@ -50,4 +52,4 @@ if (Ti.UI.Android) {
50 52 }
51 53 }
52 54
53   -exports.extractExceptionData = extractExceptionData;
  55 +exports.extractExceptionData = extractExceptionData;

0 comments on commit d8d257e

Please sign in to comment.
Something went wrong with that request. Please try again.