Skip to content

Commit c2acd36

Browse files
committed
Make error message for missing availabilities clearer
1 parent b80ce22 commit c2acd36

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/asset.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ impl Asset {
185185
.get(&key)
186186
.with_context(|| {
187187
format!(
188-
"No activity limits supplied for process {} in region {} in year {}. \
188+
"No process availabilities supplied for process {} in region {} in year {}. \
189189
You should update process_availabilities.csv.",
190190
&process.id, region_id, commission_year
191191
)

src/input/process/flow.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ fn check_flows_primary_output(
211211
) -> Result<()> {
212212
if let Some(primary_output) = primary_output {
213213
let flow = flows_map.get(primary_output).with_context(|| {
214-
format!("Primary output commodity '{primary_output}' isn't a process flow",)
214+
format!("Primary output commodity '{primary_output}' isn't a process flow")
215215
})?;
216216

217217
ensure!(

0 commit comments

Comments
 (0)