Skip to content

Commit eb2502e

Browse files
committed
Log error in AppStream example.
1 parent 0ff03b2 commit eb2502e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • examples/powertools-examples-core-utilities/sam/src/main/java/helloworld

examples/powertools-examples-core-utilities/sam/src/main/java/helloworld/AppStream.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ public void handleRequest(InputStream input, OutputStream output, Context contex
5656

5757
writer.write("{\"body\": \"" + System.currentTimeMillis() + "\"} ");
5858
} catch (IOException e) {
59+
log.error("Exception caught in handler", e);
5960
log.error("Something has gone wrong: ", e);
6061
}
6162
}

0 commit comments

Comments
 (0)