diff --git a/src/backends/sentry_backend_crashpad.cpp b/src/backends/sentry_backend_crashpad.cpp index aa6b6f3a8..96d961657 100644 --- a/src/backends/sentry_backend_crashpad.cpp +++ b/src/backends/sentry_backend_crashpad.cpp @@ -386,7 +386,7 @@ crashpad_backend_startup( SENTRY_WARN("registering crashpad WER handler in registry failed"); } else { std::wstring wer_path_string(wer_path->path); - if (!data->client.RegisterWerModule(wer_path_string)) { + if (!data->client->RegisterWerModule(wer_path_string)) { SENTRY_WARN("registering crashpad WER handler module failed"); } }