Coder Social home page Coder Social logo

Comments (4)

EvilOlaf avatar EvilOlaf commented on May 24, 2024

Or cancel the reload and use the old (cached) and valid settings. However if the the server gets restarted with invalid settings it needs to fall back on the default settings.
As written above the invalid file could be backed up though.

from chatcontrol-pro.

tlaundal avatar tlaundal commented on May 24, 2024

Just to make it clear, I was starting the server with an incorrectly formated settings.yml, not reload. I do think the plugin would have reacted in the same way either way, though.

When the plugin registered the error, it printed all the fields from the config with their new/reset values in the console. This wasn't very helpful, though, as it didn't print the values I had written, only the ones it reset them to.

from chatcontrol-pro.

kangarko avatar kangarko commented on May 24, 2024

By default, when an error is caught, an error message is supposed to be printed into the console, preventing plugin from starting at all, so the user is encouraged to fix it before loading such a malformed version.

But dear, hours spent on that system and you are telling me that? :) I see. Confirmed & fixed. Thanks for reporting.

A new release will be available soon, I just need to push some more changes so I won't waste release numbers before we hit 7.0.0.

from chatcontrol-pro.

kangarko avatar kangarko commented on May 24, 2024

Forgot to close the issue.

from chatcontrol-pro.

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.