Skip to content

Commit 919e2b8

Browse files
authored
feat: Improve error message when a quilc connection fails. (#384)
1 parent 4695564 commit 919e2b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/lib/src/compiler/quilc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ pub enum Error {
206206
#[error("Problem converting ISA to quilc format. This is a bug in this library or in QCS.")]
207207
Isa(#[from] isa::Error),
208208
/// An error when trying to connect to quilc.
209-
#[error("Problem connecting to quilc at {0}")]
209+
#[error("Problem connecting to quilc at {0}: {1}")]
210210
QuilcConnection(String, #[source] rpcq::Error),
211211
/// An error when trying to compile using quilc.
212212
#[error("Problem compiling quil program: {0}")]

0 commit comments

Comments
 (0)