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

@ -31,8 +31,8 @@ class ExecutionEnvironmentsController < ApplicationController
def execute_command
runner = Runner.for(current_user, @execution_environment)
output = runner.execute_command(params[:command])
render(json: output)
output = runner.execute_command(params[:command], raise_exception: false)
render json: output
end
def working_time_query