Skip to content

Commit 633a773

Browse files
authored
error classification: add error code 192 (#4507)
Notify user when clickpipes user is dropped.
1 parent 56e27cc commit 633a773

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

flow/alerting/classifier.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,6 +1058,8 @@ func GetErrorClass(ctx context.Context, err error) (ErrorClass, ErrorInfo) {
10581058
Code: chErrorInfo.Code,
10591059
AdditionalAttributes: additionalAttributes,
10601060
}
1061+
case chproto.ErrUnknownUser:
1062+
return ErrorNotifyClickHouseError, chErrorInfo
10611063
}
10621064
// a catch-all for MV or view errors
10631065
if _, ok := errors.AsType[*peerdb_clickhouse.ViewError](err); ok {

0 commit comments

Comments
 (0)