diff --git a/java-sdk/src/main/java/io/hackerbay/fyipe/Util.java b/java-sdk/src/main/java/io/hackerbay/fyipe/Util.java index 2caebae9be..ad45e2690c 100644 --- a/java-sdk/src/main/java/io/hackerbay/fyipe/Util.java +++ b/java-sdk/src/main/java/io/hackerbay/fyipe/Util.java @@ -6,10 +6,8 @@ import io.hackerbay.fyipe.model.TrackerOption; import io.hackerbay.fyipe.util.FileReader; import java.net.URL; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.HashMap; -import java.util.UUID; +import java.util.*; + enum ErrorEventType { error, info, @@ -65,6 +63,9 @@ public class Util { ); } + // reversing the list + Collections.reverse(frameArrayList); + return frameArrayList; } private void getErrorCodeSnippet(StackTrace stackTrace) {