Skip to content

Commit 8111f62

Browse files
authored
Merge pull request #48 from eranation/patch-1
[Minor change] Avoid a NullPointerException...
2 parents b540553 + 2392c34 commit 8111f62

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

samples/spring/pet-store/src/main/java/com/amazonaws/serverless/sample/spring/StreamLambdaHandler.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public void handleRequest(InputStream inputStream, OutputStream outputStream, Co
3131
} catch (ContainerInitializationException e) {
3232
log.error("Cannot initialize Spring container", e);
3333
outputStream.close();
34+
throw new RuntimeException(e);
3435
}
3536
}
3637

0 commit comments

Comments
 (0)