powsybl / powsybl-core

A framework to build power system oriented software
https://www.powsybl.org
Mozilla Public License 2.0
124 stars 40 forks source link

[Network modification] Modify log when no extension is created. #3100

Closed colinepiloquet closed 2 months ago

colinepiloquet commented 2 months ago

Please check if the PR fulfills these requirements

Does this PR already have an issue describing the problem?

No

What kind of change does this PR introduce?

Log update

What is the current behavior?

The log message is pretty unclear without context, especially in the reporter: "No extensions found on voltageLevel voltageLevel. The extension on the connectable is not created."

What is the new behavior (if this is a feature change)? I tried to make the log a bit clearer by specifying the extension name: ConnectablePosition and the name of the feeder.

Does this PR introduce a breaking change or deprecate an API?

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud