chore: remove debug console.log statements, stale comments, and dead code (#8142)
Co-authored-by: Douwe Osinga <douwe@squareup.com>
This commit is contained in:
@@ -5,7 +5,6 @@ use std::collections::HashMap;
|
||||
/// It is the ground truth for init experiments. The experiment names in users' experiment list but not
|
||||
/// in the list will be remove from user list; The experiment names in the ground-truth list but not
|
||||
/// in users' experiment list will be added to user list with default value false;
|
||||
/// TODO: keep this up to date with the experimental-features.md documentation page
|
||||
const ALL_EXPERIMENTS: &[(&str, bool)] = &[];
|
||||
|
||||
/// Experiment configuration management
|
||||
|
||||
@@ -81,8 +81,7 @@ fn get_extensions_map() -> IndexMap<String, ExtensionEntry> {
|
||||
fn save_extensions_map(extensions: IndexMap<String, ExtensionEntry>) {
|
||||
let config = Config::global();
|
||||
if let Err(e) = config.set_param(EXTENSIONS_CONFIG_KEY, &extensions) {
|
||||
// TODO(jack) why is this just a debug statement?
|
||||
tracing::debug!("Failed to save extensions config: {}", e);
|
||||
tracing::warn!("Failed to save extensions config: {}", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user