Monkeypatch Error.captureStackTrace