-
Notifications
You must be signed in to change notification settings - Fork 492
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
[Question]: New filter run panic #1163
Comments
copy that, i will try to find out what happens. |
There is a bug when generate code. |
It works. The error message is not clear. Is there any way i can clearly understand the cause of the error ? |
p.filters[filter.Name()] = filter https://github.com/megaease/easegress/blob/main/pkg/object/pipeline/pipeline.go#L292 In flow, the filter name is I will make a pr to fix the bug and also add some integration tests to make sure the kind of error never happen again! |
Thank you very much! |
This is a little embarrassing for me. In this case, this panic caused by a bug of Here is what I do to find this bug, first I update the pipeline yaml, make it only contains one filter of proxy, then I find it works as expected. So, the bug happens in the new filter. Then I do some print in
|
thanks, I get it |
I developed a new filter, it's really simple. I used
egbuilder
init one, and then add some log.My filter code
My configuration
I get a panic
My Question
The text was updated successfully, but these errors were encountered: