Skip to content

Remove error messges from document or just put in a marker. #7

@DHorse2

Description

@DHorse2

In general, errors belong in the logs and shouldn't junk up an otherwise coherent generated document.

The readme document in the root contained an invalid file referernce {{File: xxx }} for testing purposes.

An achor tag or other (short if not invisible) unique reference could still be used as this could be a debugging aid.

Putting the exception handling information details in the readme.md is redundant and excessive:

============================================= 
Error in Script: Mdm_Std_Help.ps1, line 907, column 42 Error in Script: Mdm_Std_Help.ps1, line 907, column 42 Unable to process document match { insert for file: G:\Script\Powershell\Mdm_Powershell_Modules\src\Modules\XXXXG:\Script\Powershell\Mdm_Powershell_Modules\src\Modules\Mdm_Std_Library For match: {{File: G:\Script\Powershell\Mdm_Powershell_Modules\src\Modules\XXXXG:\Script\Powershell\Mdm_Powershell_Modules\src\Modules\Mdm_Std_Library}} Details: Cannot find path 'G:\Script\Powershell\Mdm_Powershell_Modules\src\Modules\XXXXG:\Script\Powershell\Mdm_Powershell_Modules\src\Modules\Mdm_Std_Library' because it does not exist. ObjectNotFound: (G:\Script\Powershel…les\Mdm_Std_Library:String) [Get-Content], ItemNotFoundException

Stack trace: Function_Name Link Calling_Function
Frame[0]: Add-LogError, line 819. Mdm_Std_Etl.ps1:819: Mdm_Std_Etl.ps1 at line 760… Frame[1]: Add-LogText, line 760. Mdm_Std_Etl.ps1:760: Mdm_Std_Help.ps1 at line 912… Frame[2]: ConvertFrom-Template, line 912. Mdm_Std_Help.ps1:912: Mdm_Std_Help.ps1 at line 126… Frame[3]: Export-Mdm_Help, line 126. Mdm_Std_Help.ps1:126: DevEnv_Install_Modules_Win.ps1 at line 336… Frame[4]: DevEnv_Install_Modules_Win, line 336. DevEnv_Install_Modules_Win.ps1:336: None…
Mdm System Management Modules
Order of script execution for a new system.

First, from the root directory (here) you can run:

. .\GoToBootstrap

This will make Mdm_Bootstrap the current directory.

You need to be in the Bootstrap Module Directory.

If the Powershell Language Mode is not Full this can set it:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions