improved error handling, improved consistency of console error messages, added ability to add a Decimal column in Migrations
This commit is contained in:
		| @ -1,5 +1,6 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.Diagnostics; | ||||
| using System.IO; | ||||
| using System.Linq; | ||||
| using System.Reflection; | ||||
| @ -264,7 +265,7 @@ namespace Oqtane.Repository | ||||
|                         }.EncodePermissions(); | ||||
|                     } | ||||
|  | ||||
|                     Console.WriteLine($"Registering module: {moduledefinition.ModuleDefinitionName}"); | ||||
|                     Debug.WriteLine($"Oqtane Info: Registering Module {moduledefinition.ModuleDefinitionName}"); | ||||
|                     moduledefinitions.Add(moduledefinition); | ||||
|                     index = moduledefinitions.FindIndex(item => item.ModuleDefinitionName == qualifiedModuleType); | ||||
|                 } | ||||
|  | ||||
| @ -1,5 +1,6 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.Diagnostics; | ||||
| using System.IO; | ||||
| using System.Linq; | ||||
| using System.Reflection; | ||||
| @ -104,6 +105,8 @@ namespace Oqtane.Repository | ||||
|                     { | ||||
|                         theme.PackageName = Utilities.GetTypeName(theme.ThemeName); | ||||
|                     } | ||||
|  | ||||
|                     Debug.WriteLine($"Oqtane Info: Registering Theme {theme.ThemeName}"); | ||||
|                     themes.Add(theme); | ||||
|                     index = themes.FindIndex(item => item.ThemeName == qualifiedThemeType); | ||||
|                 } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Shaun Walker
					Shaun Walker