Skip to content

Commit

Permalink
Merge branch 'main' into improve-stash-api
Browse files Browse the repository at this point in the history
  • Loading branch information
jamal-khey authored Nov 8, 2023
2 parents a94310f + 3fd3df7 commit 3050c82
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/
package org.gridsuite.modification.server.modifications;

import com.powsybl.commons.PowsyblException;
import com.powsybl.commons.reporter.Report;
import com.powsybl.commons.reporter.Reporter;
import com.powsybl.commons.reporter.TypedValue;
Expand Down Expand Up @@ -45,7 +46,7 @@ public void apply(Network network, Reporter subReporter) {
modificationInfos.getModifications().forEach(modification -> {
try {
modification.toModification().apply(network);
} catch (NetworkModificationException e) {
} catch (PowsyblException e) {
applicationFailuresCount.incrementAndGet();
subReporter.report(Report.builder()
.withKey(modification.getType().name() + applicationFailuresCount.get())
Expand Down

0 comments on commit 3050c82

Please sign in to comment.