mirror of
https://github.com/kovetskiy/mark.git
synced 2026-05-01 21:02:33 +00:00
feat: replace logging with zerolog
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
"text/template"
|
||||
|
||||
"github.com/kovetskiy/mark/v16/confluence"
|
||||
"github.com/reconquest/pkg/log"
|
||||
"github.com/rs/zerolog/log"
|
||||
|
||||
"github.com/reconquest/karma-go"
|
||||
)
|
||||
@@ -42,7 +42,7 @@ func templates(api *confluence.API) (*template.Template, error) {
|
||||
}
|
||||
user, err := api.GetUserByName(name)
|
||||
if err != nil {
|
||||
log.Error(err)
|
||||
log.Error().Err(err).Send()
|
||||
}
|
||||
|
||||
return user
|
||||
|
||||
Reference in New Issue
Block a user