CaptureErrors: panic instead of returning an error