improved error handling, improved consistency of console error messages, added ability to add a Decimal column in Migrations

This commit is contained in:
Shaun Walker
2021-06-18 13:01:42 -04:00
parent 32c49f74d3
commit 3bc5744007
10 changed files with 53 additions and 23 deletions

View File

@ -1,4 +1,5 @@
using System;
using System.Diagnostics;
using System.IO;
using Microsoft.Extensions.Configuration;
using Newtonsoft.Json;
@ -57,7 +58,7 @@ namespace Oqtane.Infrastructure
}
catch (Exception ex)
{
Console.WriteLine("Error modifying app settings {0}", ex);
Debug.WriteLine($"Oqtane Error: Error Updating App Setting {key} - {ex}");
}
}
@ -78,7 +79,7 @@ namespace Oqtane.Infrastructure
}
catch (Exception ex)
{
Console.WriteLine("Error modifying app settings {0}", ex);
Debug.WriteLine($"Oqtane Error: Error Removing App Setting {key} - {ex}");
}
}