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

Fixes possible panic in json pipeline stage. #1894

Merged
merged 1 commit into from
Apr 3, 2020

Commits on Apr 3, 2020

  1. Fixes possible panic in json pipeline stage.

    This was reported to me today and it happens because the previous source can be nil.
    This was only happening when debug log was on. And the problem was only in the json because it was using .String on a nil value.
    
    I've added a test and activate debug during tests to cover those path too.
    
    Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
    cyriltovena committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    2a4e1fc View commit details
    Browse the repository at this point in the history