From: Timo Tijhof Date: Wed, 12 Sep 2018 17:33:34 +0000 (+0100) Subject: user: Allow "CAS update failed" exceptions to be normalised X-Git-Tag: 1.34.0-rc.0~4037^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=65f714e1e679127c4d38a40e7b23da8cee2195d6;hp=65f714e1e679127c4d38a40e7b23da8cee2195d6 user: Allow "CAS update failed" exceptions to be normalised Take the user_id variable out of the exception message. To compensate and still allow one to correlate patterns relating to a specific user (e.g. a bot), add a warning message that still contains the variable via context. This way that warning will also be normalised/grouped, but with the extra context. This is separate because exceptions do not currently support context placeholders. Bug: T202149 Change-Id: Ic0c25f66f23fdc65821da12f949c6224bc03f9b3 ---