CanineHQ/canine · error · Cli::CommandFailedError
Process was killed
Error message
Process was killed
What it means
Error "Process was killed" thrown in CanineHQ/canine.
Source
Thrown at app/services/cli.rb:64
stderr.each_line do |line|
@loggable.info(line.chomp)
@output += line
end
end
# Wait for process to complete or be killed
exit_status = wait_thr.value
# Ensure output threads complete
stdout_thread.join
stderr_thread.join
# Stop monitoring thread
stop_monitor_thread
if @killable&.reload&.killed?
@loggable.error("Process was killed by user request")
raise CommandFailedError, "Process was killed"
elsif exit_status.success?
@loggable.success("Command succeeded")
else
raise CommandFailedError, "Command failed with exit code #{exit_status.exitstatus}"
end
exit_status
end
ensure
stop_monitor_thread
end
private
def start_monitor_thread
@monitor_thread = Thread.new do
loop do
sleep 1 # Check every secondView on GitHub (pinned to ba4ee3968d)
When it happens
Trigger: Thrown at app/services/cli.rb:64 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of CanineHQ/canine@ba4ee3968d (2026-08-23).
Data as JSON: /api/errors/a4e94d1c1fbad134.
Report an issue: GitHub.