Skip to content

Commit b8349b5

Browse files
alyezzAliAbdelfattah
authored andcommitted
fix incorrect condition
1 parent 6135df3 commit b8349b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/instabug/reactlibrary/RNInstabugAPMModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public void run() {
119119
try {
120120
String result = "";
121121
ExecutionTrace trace = APM.startExecutionTrace(name);
122-
if (trace == null) {
122+
if (trace != null) {
123123
result = id;
124124
traces.put(id, trace);
125125
}

0 commit comments

Comments
 (0)