-
Notifications
You must be signed in to change notification settings - Fork 92
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
Invalid line reporting when wrong configuration file is used #306
Comments
This should fail on startup, while is it failing on runtime? I'll try to work on this this month, but since I'm moving into a new flat, I don't have much free time at the moment :) |
The problem is not from snuffleupagus. Furthermore, snuffleupagus logs correctly the line here but also append the
We can see that the I will try to look for what appending this "in Unknown line 0" (its looks like its PHP that add this and might be related to https://github.com/nbs-system/snuffleupagus/issues/307) |
After some debug, it looks like the problem come from PHP. This function then use @jvoisin @xXx-caillou-xXx , do you have any idea how can we handle/fix this ? |
I just ran into this again, and it's making it super difficult to debug my invalid configuration. I don't honestly know what changed that made the configuration invalid either :( I've used the default config from this repo, and sadly, it's not working. |
The error message looks just detailed enough for me to find an invalid keyword in line 5 of the configuration file. If you do not see a message like this with a syntactically invalid configuration file, please try the all new release version 0.8.2. |
Hi,
It seems like there is an error in the reporting of invalid configuration.
Using this configuration file:
I get:
I'm using the latest version of master, with php7.3-fpm.
I can do a PR for this, but I currently don't have the time to do so.
I think this could be done at the same time as #300
The text was updated successfully, but these errors were encountered: