Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configuration for unknown module raises error #45

Closed
mweinelt opened this issue Apr 9, 2019 · 1 comment
Closed

configuration for unknown module raises error #45

mweinelt opened this issue Apr 9, 2019 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers
Milestone

Comments

@mweinelt
Copy link
Contributor

mweinelt commented Apr 9, 2019

If it is an error shouldn't CptHook exit? Or is it more like a warning?

● cpthook.service - CptHook Webhook Gateway
   Loaded: loaded (/etc/systemd/system/cpthook.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2019-04-09 16:47:02 CEST; 18min ago
 Main PID: 2498 (CptHook)
    Tasks: 6 (limit: 4915)
   CGroup: /system.slice/cpthook.service
           └─2498 /usr/local/go/bin/CptHook

Apr 09 16:47:02 elsa systemd[1]: Started CptHook Webhook Gateway.
Apr 09 16:47:02 elsa CptHook[2498]: time="2019-04-09T16:47:02+02:00" level=info msg="Loglevel not defined in configuration. Defaulting to ERROR"
Apr 09 16:47:02 elsa CptHook[2498]: time="2019-04-09T16:47:02+02:00" level=error msg="found configuration for unknown module: \"status\""
@fleaz fleaz added the bug Something isn't working label Apr 23, 2019
@fleaz
Copy link
Owner

fleaz commented Apr 23, 2019

This should indeed be a warning because imho we can safely continue and just ignore this part of the config

@fleaz fleaz added the good first issue Good for newcomers label Apr 23, 2019
@fleaz fleaz added this to the v0.4.0 milestone May 2, 2019
@fleaz fleaz closed this as completed in 8ca6ff6 May 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants