[errors] better handling of garg job errors

JSON should now be better so that the UI can handle it in task async
handler.
4 jobs for 571-dev-node-corpus-api-search-fixes in 43 minutes and 59 seconds (queued for 6 seconds)
latest
Status Job ID Name Coverage
  Deps
passed #7566
deps

00:26:19

 
  Test
failed #7567
test

00:17:40

 
  Docs
skipped #7568
allowed to fail
docs
 
  Cabal
skipped #7569
allowed to fail
cabal
 
Name Stage Failure
failed
test Test

gargantext> Test suite garg-test failed
Completed 2 action(s).
Test suite failure for package gargantext-0.0.6.9.9.6.6
garg-test: exited with: ExitFailure 1
Logs printed to console

Cleaning up file based variables
ERROR: Job failed: exit code 1