diff options
author | Liam Crilly <liam.crilly@nginx.com> | 2024-06-06 10:02:53 +0100 |
---|---|---|
committer | Andrew Clayton <a.clayton@nginx.com> | 2024-06-12 21:33:18 +0100 |
commit | a7e3686aacc3ced28670b6e6c69508072e101e69 (patch) | |
tree | ed1045cc4d0f678e5f7fc2341b3b88827636d70f /.github/dependabot.yml | |
parent | 98983f3f3b9dae111471043792dd24e5c834a6d3 (diff) | |
download | unit-a7e3686aacc3ced28670b6e6c69508072e101e69.tar.gz unit-a7e3686aacc3ced28670b6e6c69508072e101e69.tar.bz2 |
Tools: improved error handling for unitc
This patch does a number of things to help when failing to apply a new
configuration.
* The error body from the Unit control API is displayed which can have
useful troubleshooting information (when the version of curl supports it).
* When using the EDIT option, the temporary file with unapplied changes is
preserved so that the user can edit it again without losing their work.
* Editing JavaScript modules no longer requires that module to have been
enabled.
* Failure to apply edited JavaScript modules now rolls-back to the previous
configuration instead of deleting the module.
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to '.github/dependabot.yml')
0 files changed, 0 insertions, 0 deletions