View Issue Details

IDProjectCategoryView StatusLast Update
0000500Medieval EngineersEnhancementpublic2023-10-31 05:57
Reportershad Assigned To 
PrioritynormalSeveritytweakReproducibilityhave not tried
Status newResolutionopen 
PlatformWindows 
Target Version0.7.4.x (unreleased) 
Summary0000500: Expand XML error logging to point to the .sbc file
Description

Currently, if you made a mistake in the XML definitions, the log will point out that error and where it is supposed to be originated within a file:

2023-09-23 13:51:43.108|Worker Logic 3> Exception occurred: System.InvalidOperationException: There is an error in XML document (26, 5). ---> System.Xml.XmlException: The 'Definitions' start tag on line 2 position 2 does not match the end tag of 'Definition'. Line 26, position 5.

However, it doesn't specify which .sbc is causing the issue, which makes it hard to track down and fix.
It would be a lot more helpful if the error logging also states the filepath.

TagsNo tags attached.

Activities

shad

2023-10-31 05:57

reporter   #~0000410

Update: found out that the error log does state which file the error was found in, but at the very end of the entry, which is confusing.
This ticket can either be closed or eventually changed to log the file at the beginning of the entry.

Issue History

Date Modified Username Field Change
2023-09-23 05:24 shad New Issue
2023-10-09 11:05 equinox Target Version => 0.7.4.x (unreleased)
2023-10-31 05:57 shad Note Added: 0000410