@@ -242,7 +242,6 @@ mkEsScribe cfg@EsScribeCfg {..} server ix mapping sev verb = do
242242 r1 <- createIndex essIndexSettings ix
243243 unless (statusIsSuccessful (responseStatus r1)) $
244244 liftIO $ throwIO (CouldNotCreateIndex r1)
245− --TODO: throw on error
246245 r2 <- if shardingEnabled
247246 then putTemplate tpl tplName
248247 else putMapping ix mapping (baseMapping mapping)