Change default of raise_exception for execute_command

This commit is contained in:
Sebastian Serth
2021-10-30 01:13:32 +02:00
parent 4f1a7cde27
commit 1609bd2e0e
4 changed files with 5 additions and 5 deletions

View File

@ -64,7 +64,7 @@ class Runner < ApplicationRecord
Time.zone.now - starting_time # execution duration
end
def execute_command(command, raise_exception: false)
def execute_command(command, raise_exception: true)
output = {}
stdout = +''
stderr = +''