# How to handle issues with rare edge cases where builds fail or even panic (soemtimes different way per OS)

**URL:** <https://discourse.gohugo.io/t/how-to-handle-issues-with-rare-edge-cases-where-builds-fail-or-even-panic-soemtimes-different-way-per-os/49750>\
**Category:** dev\
**Created:** [May 10, 2024, 12:56pm UTC](https://discourse.gohugo.io/t/how-to-handle-issues-with-rare-edge-cases-where-builds-fail-or-even-panic-soemtimes-different-way-per-os/49750 "2024-05-10T12:56:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![irkode](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/irkode/32/26135_2.png) [@irkode](https://discourse.gohugo.io/u/irkode)\
**Post date:** [May 10, 2024, 12:56pm UTC](https://discourse.gohugo.io/t/how-to-handle-issues-with-rare-edge-cases-where-builds-fail-or-even-panic-soemtimes-different-way-per-os/49750/1 "2024-05-10T12:56:03Z")

</div>

While playing around and studying features I sometimes make very bad mistakes…

cause by:

- typos
- missing knowledge
- try strange things

Would you like to have issues for these cases?

Some examples for `hugo.toml`

```toml
baseURL = "https://example.com/"
defaultContentLanguage = "en"
title = "Module Mounts"
disableKinds = ['RSS', 'sitemap', 'taxonomy', 'term']

[module]

   [[module.mounts]]
      source = "content"
      target = "content"

```

### Example 1

```auto
[[module.mounts]]
   source = "."
   target = "content"

```

- `hugo` at least builds
- `hugo server` endless loop

### Example 2

```auto
[[module.mounts]]
   source = "/" # UNIX
   source = "c:/" # Windows
   target = "content"

```

- Ubuntu (WSL Ubuntu on Windows 11)

- Windows 11

### Example 3

```auto
[[params]]

```

- `hugo` panic
- `hugo server` panic

---

<div class="post-metadata">

**Author:** ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)\
**Post date:** [May 10, 2024, 1:03pm UTC](https://discourse.gohugo.io/t/how-to-handle-issues-with-rare-edge-cases-where-builds-fail-or-even-panic-soemtimes-different-way-per-os/49750/2 "2024-05-10T13:03:11Z")

</div>

There are a million ways (probably not an exaggeration) to misconfigure a site. Validating the entire config is something that will probably never happen (low reward for required effort).

You could certainly log issues for these, but they will probably linger in the queue and ultimately die of negelct.
