Changeset 396 in code for trunk/upstream.go


Ignore:
Timestamp:
Aug 19, 2020, 9:50:19 AM (5 years ago)
Author:
contact
Message:

Strip message tags in error message

The time tag was causing the registration error messages to be
continuously sent to downstream connections.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/upstream.go

    r390 r396  
    15211521
    15221522                if err := uc.handleMessage(msg); err != nil {
     1523                        msg.Tags = nil // prevent message tags from cluttering logs
    15231524                        return fmt.Errorf("failed to handle message %q: %v", msg, err)
    15241525                }
Note: See TracChangeset for help on using the changeset viewer.