Commit b700a84e authored by Danilo Bargen's avatar Danilo Bargen
Browse files

Log errors in UpdatePagesService

parent e917be174632
......@@ -24,6 +24,10 @@ def log_info(message) message
def log_error(message)
Gitlab::AppLogger.error message
def system_hook_service
......@@ -46,6 +46,7 @@ def success
def error(message, http_status = nil)
log_error("Projects::UpdatePagesService: #{message}")
@status.allow_failure = !latest?
@status.description = message
title: Log errors during generating of Gitlab Pages to debug log
merge_request: 10335
author: Danilo Bargen
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment