netbirdio / netbird

Connect your devices into a single secure private WireGuard®-based mesh network with SSO/MFA and simple access controls.
https://netbird.io
BSD 3-Clause "New" or "Revised" License
9.83k stars 425 forks source link

Add stack trace when saving empty domains #2228

Closed mlsmaycon closed 3 days ago

mlsmaycon commented 3 days ago

Describe your changes

added temporary domain check for existing accounts to trace where the issue originated

Refactor save account due to complexity score

Issue ticket number and link

Checklist

sonarcloud[bot] commented 3 days ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

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

See analysis details on SonarCloud