Skip to content

Commit df1ee1c

Browse files
Bug 1997626 - Log the AppContext and RecordedContext in NimbusClient initialization (#7049)
1 parent 8c5e041 commit df1ee1c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

components/nimbus/src/stateful/nimbus_client.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,15 @@ impl NimbusClient {
125125
prefs = Some(Arc::new(GeckoPrefStore::new(Arc::new(handler))));
126126
}
127127

128+
info!(
129+
"Initialized NimbusClient with: app_context = {:?}; recorded_context = {:?}",
130+
app_context,
131+
recorded_context
132+
.as_ref()
133+
.map(|rc| serde_json::Value::Object(rc.to_json()))
134+
.unwrap_or(serde_json::Value::Null)
135+
);
136+
128137
Ok(Self {
129138
settings_client,
130139
mutable_state,

0 commit comments

Comments
 (0)