Skip to content

Commit f87f0e3

Browse files
committed
adding comments
1 parent b9684f7 commit f87f0e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

instrument-repl/src/repl.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ impl Repl {
260260
prev_state = None;
261261
}
262262
Request::GetError => {
263-
let (errors, _promt) = self.get_errors()?;
263+
let (errors, _) = self.get_errors()?;
264264
for e in errors {
265265
error!("TSP error: {e}");
266266
Self::print_data(state, ParsedResponse::TspError(e.to_string()))?;
@@ -451,6 +451,7 @@ impl Repl {
451451
let x: TspError = serde_json::from_str(e.trim())?;
452452
errors.push(x);
453453
}
454+
// in trebuchet for usbtmc connection prompt is getting in error query output, which got handled here
454455
if response == ParsedResponse::Prompt {
455456
prompt = true;
456457
}

0 commit comments

Comments
 (0)