Jakub21 / shp.py

Static HTML Preprocessor. Parses custom SHP syntax and uses the data to compile HTML files. In contrary to other preprocessors, this one is meant to be used at build time.
0 stars 0 forks source link

Unhandled error when include points to a file that does not exist #8

Open Jakub21 opened 1 month ago

Jakub21 commented 1 month ago

Reproduce with: @include[file="name_wiht_a_typo"]

Result: FileNotFoundError "...\shp\source\compiler\dependency.py", line 32, in parse

Jakub21 commented 1 month ago

Also @include[file="nam"e] raises an OSError in the same line