diff options
author | Stan Hu <stanhu@gmail.com> | 2017-12-17 15:17:55 -0800 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-01-03 22:49:02 -0800 |
commit | 57dc5a521bbdd94cc2eab34f22e2b6fac9e8bd55 (patch) | |
tree | 41c79b0f44b232eee0ce3e6b543e15517ff98492 /changelogs | |
parent | 54bc270f7e90f4bd15d6958e44d0a8f41a3eb571 (diff) | |
download | gitlab-ce-57dc5a521bbdd94cc2eab34f22e2b6fac9e8bd55.tar.gz |
Avoid leaving a push event empty if payload cannot be createdsh-validate-path-project-import
If the payload cannot be created for some reason, we could be left with a nil
push event payload, which causes Error 500s when viewing the dashboard. Guard
against this error and log when it happens.
Avoids problems seen in #38823
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/unreleased/sh-validate-path-project-import.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/sh-validate-path-project-import.yml b/changelogs/unreleased/sh-validate-path-project-import.yml new file mode 100644 index 00000000000..acad66c0ab2 --- /dev/null +++ b/changelogs/unreleased/sh-validate-path-project-import.yml @@ -0,0 +1,5 @@ +--- +title: Avoid leaving a push event empty if payload cannot be created +merge_request: +author: +type: fixed |