Skip to content

Commit

Permalink
Corretion du log
Browse files Browse the repository at this point in the history
  • Loading branch information
Bouhmarc committed Jul 27, 2021
1 parent 100c7e9 commit 4f24960
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions DownloadDocuments.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,13 @@ function DownloadDocuments(sNomPlugin)
'node ' + __dirname + '/DownloadDocument_StandAlone.js "'+sNomFichier + '"',
{stdio: 'pipe'})

const nIndice = sSTDIO.indexOf("critical")
var nIndice = sSTDIO.indexOf("critical")

if (nIndice)
console.log('ERREUR : ' + sSTDIO[nIndice])
bErreur = true

{
console.log('ERREUR : ' + sSTDIO.toString('utf8', nIndice, sSTDIO.indexOf('\n', nIndice)))

}
console.log('----------------------------------------------------------------------')
console.log('Fin du connecteur ' + stUnElement.name)
console.log('----------------------------------------------------------------------')
Expand Down

0 comments on commit 4f24960

Please sign in to comment.