diff options
Diffstat (limited to 'models/issue_milestone.go')
-rw-r--r-- | models/issue_milestone.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/issue_milestone.go b/models/issue_milestone.go index 6cb2b6b574..5304d85e97 100644 --- a/models/issue_milestone.go +++ b/models/issue_milestone.go @@ -393,7 +393,7 @@ func ChangeMilestoneAssign(issue *Issue, doer *User, oldMilestoneID int64) (err if issue.IsPull { err = issue.PullRequest.LoadIssue() if err != nil { - log.Error(2, "LoadIssue: %v", err) + log.Error("LoadIssue: %v", err) return } err = PrepareWebhooks(issue.Repo, HookEventPullRequest, &api.PullRequestPayload{ @@ -413,7 +413,7 @@ func ChangeMilestoneAssign(issue *Issue, doer *User, oldMilestoneID int64) (err }) } if err != nil { - log.Error(2, "PrepareWebhooks [is_pull: %v]: %v", issue.IsPull, err) + log.Error("PrepareWebhooks [is_pull: %v]: %v", issue.IsPull, err) } else { go HookQueue.Add(issue.RepoID) } |