[#71883402] Style error messages when registering

Signed-off-by: Aubrey Howell <simplyaubs@gmail.com>