Skip to content

Avoid nil safe message

yisiliang requested to merge yisiliang/gitlab-ce:avoid-nil-safe_message into master

What does this MR do?

to avoid “NoMethodError (undefined method `split' for nil:NilClass)” while safe_message is nil.

Are there points in the code the reviewer needs to double check?

No

Why was this MR needed?

while message is nil, the commit page show HTTP 500.

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Merge request reports