diff options
author | Stan Hu <stanhu@gmail.com> | 2017-07-13 21:38:26 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-07-13 21:38:26 -0700 |
commit | 0e23d1a74ff6283076e9a1d74eccfc5ba6419fd8 (patch) | |
tree | acbd4550fd800053fac5ee70acac972bd3c4ffe9 /lib/api/notes.rb | |
parent | dbcc0e03ac82d6b90fc93b1fefac8ce80c741178 (diff) | |
download | gitlab-ce-0e23d1a74ff6283076e9a1d74eccfc5ba6419fd8.tar.gz |
Handle case when BroadcastMessage.current is nil
Somehow Rails.cache.fetch occasionally returns `nil` values, which causes
this endpoint to crash.
Closes #35094
Diffstat (limited to 'lib/api/notes.rb')
0 files changed, 0 insertions, 0 deletions