Skip to content
Snippets Groups Projects
Commit b700a84e authored by Danilo Bargen's avatar Danilo Bargen
Browse files

Log errors in UpdatePagesService

parent 47cc1fea
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -24,6 +24,10 @@ class BaseService
Gitlab::AppLogger.info message
end
 
def log_error(message)
Gitlab::AppLogger.error message
end
def system_hook_service
SystemHooksService.new
end
Loading
Loading
Loading
Loading
@@ -46,6 +46,7 @@ module Projects
end
 
def error(message, http_status = nil)
log_error("Projects::UpdatePagesService: #{message}")
@status.allow_failure = !latest?
@status.description = message
@status.drop
Loading
Loading
---
title: Log errors during generating of Gitlab Pages to debug log
merge_request: 10335
author: Danilo Bargen
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment