Skip to content

Commit

Permalink
[~] Fix error message CactuseSecurity#2597
Browse files Browse the repository at this point in the history
  • Loading branch information
SolidProgramming committed Nov 13, 2024
1 parent c52593c commit 6a7ba72
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion roles/lib/files/FWO.Services/ModellingAppZoneHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ public async Task CreateAppZones(int appId)

if (owner is null)
{
DisplayMessageInUi(null, userConfig.GetText("app_zone_creation"), userConfig.GetText("app_owner_not_found"), false);
string errorMessage = $"{userConfig.GetText("app_owner_not_found")}: App-Id: {appId}";
Exception exception = new ArgumentException(errorMessage);
DisplayMessageInUi(exception, userConfig.GetText("app_zone_creation"), errorMessage, false);
return;
}

Expand Down

0 comments on commit 6a7ba72

Please sign in to comment.