Skip to content

Fix NoMethodError for WebHook

Vasilii Iakliushin requested to merge 404787_fix_no_method_erorr into master

What does this MR do and why?

Contributes to #404787 (closed)

Problem

It's possible to have url_variables: nil value. When it happens, the code raises NoMethodError.

Solution

  • Use blank? method that can handle nil values.
  • Add a test to verify the fix

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Vasilii Iakliushin

Merge request reports

Loading