Fixed error properties to be output when added after the error is created