prateekm commented on a change in pull request #1363:
URL: https://github.com/apache/samza/pull/1363#discussion_r426928216
##########
File path:
samza-azure/src/main/java/org/apache/samza/system/azureblob/producer/AzureBlobSystemProducer.java
##########
@@ -490,7 +490,7 @@ private void closeWriters(String source, Map<String,
AzureBlobWriter> sourceWrit
public void run() {
try {
writer.close();
- } catch (IOException e) {
+ } catch (Throwable e) {
Review comment:
Minor: Should catch Exception instead of Throwable. Later includes fatal
errors like OOM, stack overflow, classloading errors etc that typically
shouldn't be caught.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]