Skip to content

Commit

Permalink
Use debug instead of info for debugging output
Browse files Browse the repository at this point in the history
  • Loading branch information
oschulz committed Jun 19, 2019
1 parent 7d428c8 commit 1d375f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/polaris_detector.jl
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ end


function exec_dev_cmd(device::PolarisDetectorInstance, cmd::AbstractString, expected_response::AbstractString)
@info "Sending command \"$cmd\"."
@debug "Sending command \"$cmd\"."
println(device.control_io, cmd)
resp = readline(device.control_io)
@info "Received response \"$resp\"."
@debug "Received response \"$resp\"."
resp != expected_response && throw(ErrorException("Device command \"cmd\" resulted in invalid/unexpected response"))
nothing
end
Expand Down

0 comments on commit 1d375f8

Please sign in to comment.