mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-08-02 11:18:46 +00:00
Server logging
This commit is contained in:
@@ -72,7 +72,7 @@ type Command struct {
|
||||
func (c *CommandHandler) ExecuteCommand(ctx *CommandContext) {
|
||||
src := fmt.Sprintf("%s/pull/%d", ctx.BaseRepo.FullName, ctx.Pull.Num)
|
||||
// it's safe to reuse the underlying logger e.logger.Log
|
||||
ctx.Log = logging.NewSimpleLogger(src, c.logger.Log, true, c.logger.Level)
|
||||
ctx.Log = logging.NewSimpleLogger(src, c.logger.Logger, true, c.logger.Level)
|
||||
defer c.recover(ctx)
|
||||
|
||||
// need to get additional data from the PR
|
||||
|
||||
Reference in New Issue
Block a user