ServerInfo: Don’t fail while adding error class

Fixes #10559
2 jobs for master in 9 minutes and 30 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Test
passed #22096
code-quality

00:07:09

3.0%
 
  Build
passed #22097
linux

00:02:20