Browse Source

Android: print stack trace on exception in generic failure case

Gaëtan Renaudeau 8 years ago
parent
commit
fe167f0a25
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      android/src/main/java/fr/greweb/reactnativeviewshot/ViewShot.java

+ 1
- 0
android/src/main/java/fr/greweb/reactnativeviewshot/ViewShot.java View File

@@ -89,6 +89,7 @@ public class ViewShot implements UIBlock {
89 89
             }
90 90
         }
91 91
         catch (Exception e) {
92
+            e.printStackTrace();
92 93
             promise.reject(ERROR_UNABLE_TO_SNAPSHOT, "Failed to capture view snapshot");
93 94
         }
94 95
         finally {