[lib] DRY error reporter in local.build.
[lib] Remove duplicate error events.