feat(logging): add logging of recent errors