-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: serialization of undesired content when a flow crashes (#6609)
* chore: update engine to conform transpiler changes #6530 * feat: rework transpiler as per #6530 Signed-off-by: Mustafa Baser <mbaser@mail.com>
- Loading branch information
1 parent
c17eeba
commit fca0e15
Showing
7 changed files
with
120 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
jans-auth-server/agama/engine/src/main/java/org/mozilla/javascript/NativeErrorUtil.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package org.mozilla.javascript; | ||
|
||
public class NativeErrorUtil { | ||
|
||
public static String stackTraceOf(Object err) { | ||
|
||
try { | ||
return NativeError.class.cast(err).getStackDelegated().toString(); | ||
} catch (Exception ex) { | ||
return "Stacktrace not available. " + ex.getMessage(); | ||
} | ||
|
||
} | ||
|
||
|
||
} |
Oops, something went wrong.