aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries
diff options
context:
space:
mode:
authorViliam Luc <vluc@cisco.com>2022-01-17 10:45:15 +0100
committerTibor Frank <tifrank@cisco.com>2022-01-17 15:36:43 +0000
commitb022196c957892cc5748cf6fa688776be81a7219 (patch)
treeed12db9ae0bfa18a6a402ddad32835ee6e4410a7 /resources/libraries
parent9720a9893945c67112de0dae7ad9f2931d7b37c8 (diff)
trending: shorten error messages
Sometimes error messages are longer than 1000 chars. This change looks for [;, :, '] in messages between 128 and 256 character. If it finds any of these the error message will be cut from beggining to this character. If there's no character from the list in error message and message is longer than 128 chars. It will be cut from beggining to 129 character of error message Signed-off-by: Viliam Luc <vluc@cisco.com> Change-Id: I283f8ee8d81422235d897370dbc9508fafda6a7f
Diffstat (limited to 'resources/libraries')
0 files changed, 0 insertions, 0 deletions