We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87cb19b commit 59e6870Copy full SHA for 59e6870
src/main/java/com/formkiq/lambda/runtime/graalvm/LambdaLoggerSystemOut.java
@@ -47,6 +47,12 @@ private boolean isJsonFormat() {
47
return "JSON".equals(System.getenv("AWS_LAMBDA_LOG_FORMAT"));
48
}
49
50
+ /**
51
+ * Convert {@link Exception} to {@link String}.
52
+ *
53
+ * @param ex {@link Exception}
54
+ * @return String
55
+ */
56
public static String toString(final Exception ex) {
57
StringWriter sw = new StringWriter();
58
try (PrintWriter pw = new PrintWriter(sw)) {
0 commit comments