diff --git a/src/Errbit/Exception/Notice.php b/src/Errbit/Exception/Notice.php index 3cb1c69..095c8d3 100644 --- a/src/Errbit/Exception/Notice.php +++ b/src/Errbit/Exception/Notice.php @@ -321,6 +321,17 @@ function (XmlBuilder $cgiData) use ($options) { } ); } + + if (!empty($options['user'])) { + $notice->tag( + 'user-attributes', + '', + array(), + function (XmlBuilder $user) use ($options) { + Notice::xmlVarsFor($user, $options['user']); + } + ); + } $notice->tag( 'server-environment',