• skau's avatar
    Extend message for sync presubmit · 34326482
    skau authored
    The message containing 'notification type' from
    CheckNotificationTypeMatchesProtoMessageName is confusing since the source
    of the error contains many similar strings.  Remind committers to refer to
    the definition of the struct for more information.
    
    New message:
    'Error at lines 127-129 in model_type.cc: In the construction of ModelTypeInfo: notification type "WIFI_CREDENTIALIEA" does not match proto message name defined in sync.proto: "wifi_credentials"'
    
    BUG=
    
    Review-Url: https://codereview.chromium.org/2335413002
    Cr-Commit-Position: refs/heads/master@{#419263}
    34326482
PRESUBMIT.py 13.9 KB