src/main/java/org/embulk/output/mailchimp/MailChimpAbstractRecordBuffer.java in embulk-output-mailchimp-0.3.12 vs src/main/java/org/embulk/output/mailchimp/MailChimpAbstractRecordBuffer.java in embulk-output-mailchimp-0.3.13

- old
+ new

@@ -138,12 +138,12 @@ return Exec.newTaskReport().set("pushed", totalCount); } catch (JsonProcessingException jpe) { throw new DataException(jpe); } - finally { - cleanUp(); + catch (Exception ex) { + throw Throwables.propagate(ex); } } /** * Receive data and build payload json that contains subscribers @@ -199,14 +199,9 @@ */ public Map<String, Map<String, InterestResponse>> getCategories() { return categories; } - - /** - * Clean up. - */ - abstract void cleanUp(); /** * Push payload data to MailChimp API and get @{@link ReportResponse} * * @param node the content