Skip to content

Commit

Permalink
Fixing the call to promiseDeep with results
Browse files Browse the repository at this point in the history
  • Loading branch information
computate committed Sep 24, 2024
1 parent 02db07c commit ba1725c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/main/java/org/computate/frFR/java/EcrireApiClasse.java
Original file line number Diff line number Diff line change
Expand Up @@ -4331,7 +4331,12 @@ public void ecrireGenApiServiceImpl3(String classeLangueNom) throws Exception {
tl(7, "}");
tl(6, "}");
tl(5, "});");
tl(5, "promise.complete();");
tl(5, "o.", i18nGlobale.getString(I18n.var_promesseLoin), i18nGlobale.getString(I18n.var_PourClasse), "(", i18nGlobale.getString(I18n.var_requeteSite), ").onSuccess(a -> {");
tl(6, "promise.complete();");
tl(5, "}).onFailure(ex -> {");
tl(6, "LOG.error(String.format(\"", i18nGlobale.getString(I18n.var_definir), classeNomSimple, " ", i18nGlobale.getString(I18n.str_a_échoué), ". \"), ex);");
tl(6, "promise.fail(ex);");
tl(5, "});");
tl(4, "} catch(Exception ex) {");
tl(5, "LOG.error(String.format(\"", i18nGlobale.getString(I18n.var_definir), classeNomSimple, " ", i18nGlobale.getString(I18n.str_a_échoué), ". \"), ex);");
tl(5, "promise.fail(ex);");
Expand Down

0 comments on commit ba1725c

Please sign in to comment.