Skip to content

Commit

Permalink
log result to stdout for demo purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
elg0nz committed Oct 1, 2024
1 parent a3b71ad commit 9658031
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/command_executor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ def log_command_result(result)
logger.error "Error during command execution: #{result['message']}"
else
logger.info "Command executed successfully. #{result}"
puts(result.fetch('response', ''))
end
end
end

0 comments on commit 9658031

Please sign in to comment.