diff --git a/ol/txs/src/commands/oracle_upgrade_cmd.rs b/ol/txs/src/commands/oracle_upgrade_cmd.rs index c8ae5a0cf3..ee03983761 100644 --- a/ol/txs/src/commands/oracle_upgrade_cmd.rs +++ b/ol/txs/src/commands/oracle_upgrade_cmd.rs @@ -32,7 +32,14 @@ impl Runnable for OracleUpgradeCmd { let path = self.upgrade_file_path.clone().unwrap_or_else(|| { let cfg = app_config(); - cfg.workspace.stdlib_bin_path.clone().unwrap() + + match cfg.workspace.stdlib_bin_path.clone() { + Some(p) => p, + None => { + println!("could not find path to compiled stdlib.mv, was this set in 0L.toml? Alternatively pass the full path with: -f /language/stdlib/staged/stdlib.mv"); + exit(1); + }, + } }); match maybe_submit(