add support for including user ids in errors