Skip to content

Fix gitlab-shell panic when log file not writable

Stan Hu requested to merge sh-fix-log-permission-error into main

Previously when the gitlab-shell log was not writable, gitlab-shell would attempt to fall back to the syslog to log an error. However, if the syslog logger creation succeeded, gitlab-shell would panic since err was nil.

Relates to #510 (closed)

Merge request reports