Skip to content

Commit 59e6870

Browse files
committed
Added comment
1 parent 87cb19b commit 59e6870

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/java/com/formkiq/lambda/runtime/graalvm/LambdaLoggerSystemOut.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ private boolean isJsonFormat() {
4747
return "JSON".equals(System.getenv("AWS_LAMBDA_LOG_FORMAT"));
4848
}
4949

50+
/**
51+
* Convert {@link Exception} to {@link String}.
52+
*
53+
* @param ex {@link Exception}
54+
* @return String
55+
*/
5056
public static String toString(final Exception ex) {
5157
StringWriter sw = new StringWriter();
5258
try (PrintWriter pw = new PrintWriter(sw)) {

0 commit comments

Comments
 (0)