mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 15:46:26 -04:00
Revert "emergency situation: we're not logging to rollrus while we're past the request quota"
This reverts commit c107eed890.
This commit is contained in:
parent
c107eed890
commit
235a47bb80
|
|
@ -19,9 +19,6 @@ import (
|
|||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
// we hit the limit: putting this here for now
|
||||
const HaveNotHitRollbarLimit = false
|
||||
|
||||
// App struct
|
||||
type App struct {
|
||||
closers []io.Closer
|
||||
|
|
@ -83,7 +80,7 @@ func newLogger(config config.AppConfigurer) *logrus.Entry {
|
|||
// https://github.com/aybabtme/humanlog
|
||||
log.Formatter = &logrus.JSONFormatter{}
|
||||
|
||||
if HaveNotHitRollbarLimit && config.GetUserConfig().GetString("reporting") == "on" {
|
||||
if config.GetUserConfig().GetString("reporting") == "on" {
|
||||
// this isn't really a secret token: it only has permission to push new rollbar items
|
||||
hook := rollrus.NewHook("23432119147a4367abf7c0de2aa99a2d", environment)
|
||||
log.Hooks.Add(hook)
|
||||
|
|
|
|||
Loading…
Reference in a new issue