Giter VIP home page Giter VIP logo

Comments (5)

trieloff avatar trieloff commented on July 20, 2024 1

Probably not a 400, as the issue is not the request per se, but the server config, so maybe a 502

from helix-content-proxy.

trieloff avatar trieloff commented on July 20, 2024 1

https://github.com/adobe/helix-shared/blob/e185e0c079602793f3e665bb41da923f52dc4efc/packages/helix-shared-config/src/ConfigValidator.js#L43-L66

Has an example of getting more nicely formatted error messages, so it is definitely possible to add more context there.

from helix-content-proxy.

dominique-pfister avatar dominique-pfister commented on July 20, 2024

In order to detect these kind of errors, I'm wondering whether SchemaDerivedConfig in helix-shared might throw an error that is better detectable than now:

  throw new Error(ajv.errorsText());

May be a specific error type (e.g. ValidationError) or add some extra property (e.g. code)?

from helix-content-proxy.

kptdobe avatar kptdobe commented on July 20, 2024

A 502 would still wake you up in the middle of the night if someone created a new helix project with a malformed fstab (and desperately trying to load the page).

from helix-content-proxy.

trieloff avatar trieloff commented on July 20, 2024

🎉 This issue has been resolved in version 2.18.47 🎉

The release is available on:

Your semantic-release bot 📦🚀

from helix-content-proxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.