XML parsing error message improvement 'unexpected end of data'

Running ogs with a nearly 3000 line long input file yields the following error:

info: This is OpenGeoSys-6 version 6.3.0-447-gb5073faf1.
info: OGS started on 2020-08-07 12:06:41+0200.
critical: /home/buchwalj/github/ogs/BaseLib/ConfigTreeUtil.cpp:66 makeConfigTree() 
error: Error while parsing XML file `HT.prj' at line 2907: unexpected end of data.
info: OGS terminated on 2020-08-07 12:06:41+0200.
error: OGS terminated with error.

The problem is, I have no idea, where the error could be. I suspect a typo in an opening or closing tag. However, it would be a significant improvement if OGS would tell me, which tag is opened but not closed, resulting in an error like this.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information