You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@gaocegege I saw several usage of log.Error , I am not sure if you are just logging it or you want to the program to exit directly, if it's the latter one, you should call log.Panic or log.Fatal. log.Error is based on logrus where it is a log message with a red prefix.
@gaocegege I think for the GetGitHubClient one, it should panic instead of logging as error, it would cause panic eventually when the caller use the returned null pointer as a client.
@gaocegege I saw several usage of
log.Error
, I am not sure if you are just logging it or you want to the program to exit directly, if it's the latter one, you should calllog.Panic
orlog.Fatal
.log.Error
is based on logrus where it is a log message with a red prefix.The text was updated successfully, but these errors were encountered: