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

Handle nil Opts parameter in middleware handlers #6

Open
gilcrest opened this issue Oct 28, 2018 · 1 comment
Open

Handle nil Opts parameter in middleware handlers #6

gilcrest opened this issue Oct 28, 2018 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@gilcrest
Copy link
Owner

Getting runtime error: invalid memory address or nil pointer dereference if passing a nil as Opts as part of handlers

@gilcrest
Copy link
Owner Author

When sending in a nil Opts paramter in any one of the handlers, the library should load options from the httpLogOpt.json file, however, since I've now switched to modules, I need to find a solution for determining the file path of this file as the directories are now versioned as part of modules...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant