Skip to content

Commit

Permalink
turning on sentry alerts in production
Browse files Browse the repository at this point in the history
  • Loading branch information
govindamurali committed Feb 6, 2017
1 parent b2eec14 commit 6797def
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/plog/log_levels.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func Fatal(tag string, err error, args ...interface{}) {
// we can pass plog.Message here in place if raven.Interface
func Error(tag string, err error, args ...message) {
if levelError >= plogLevel {
if !config.IsProduction() {
if config.IsProduction() {
sentryItems := map[string]string{"tag": tag}
for _, arg := range args {
key := string(arg.Tag.Type)
Expand Down

0 comments on commit 6797def

Please sign in to comment.