title: Script in gitlab-ci does not output errors
body: <p>I have a shell script that I use on gitlab CI that runs a supplied command. The issue is it doesn't display errors if the command failed, it just says <code>ERROR: Job failed: exit code 1</code>. I tried the script locally and it was able to output the failed command, is there a way I could somehow force it to display the error through my script before it exits the job?</p>
  
  <p>The particular part of my script </p>
  
  <pre><code>output="$( (cd "$FOLDER"; eval "$@") 2&gt;&amp;1 )"
  if [ "$output" ]; then
      echo -e "$output\n"
  fi
  </code></pre>