Fix error styling
Merge pull request #1447 from mtedeschi/style/update-registration

Fix error styling