No error reported on error

Hi!

I’m using hugo with relearn theme for some time and generally have no issues. But if I make an error in a md file, running hugo doesn’t report an error. The only reason I can spot the error is because the hugo command finishes faster (e.g. 150ms instead of 1500ms), there might NOT be a warning reported and obviously, there’s no change in html files. --debug doesn’t show any errors either.

Here are the outputs (please ignore the symlinks error that seem to have no influence):

  1. With error in a .md file:
Start building sites …
hugo v0.120.3+extended linux/amd64 BuildDate=unknown VendorInfo=nixpkgs

Total in 171 ms
Error: error copying static files: symlinks not allowed in this filesystem
  1. Without error in a .md file (note that a warning is reported that is not reported in case of an erroneous md file):
Start building sites …
hugo v0.120.3+extended linux/amd64 BuildDate=unknown VendorInfo=nixpkgs

WARN  "/home/mornar/Development/Tika-web/content/information/boat/index.md": DEPRECATED shortcode `attachments` found, use `resources` instead; see https://mcshelby.github.io/hugo-theme-relearn/shortcodes/attachments#migration
Total in 1551 ms
Error: error copying static files: symlinks not allowed in this filesystem

Please give an example of such an error, your used Hugo and theme version.