Certaines erreurs ne sont pas catchées dans les plugins de groupes
Certains appels des plugins (exemple: vérification de l'existence d'un utilisateur dans nextcloud) peuvent échouer sans avoir été 'catchées'.
Comme indiqué dans le warning correspondant, cela pourrait stopper le processus dans des version plus récentes de nodeJS :
W20240902-16:59:48.471(2)? (STDERR) (node:55565) UnhandledPromiseRejectionWarning: FetchError: request to https://nuage02.pp.appseducation.org/ocs/v1.php/cloud/users?search=antislash failed, reason: certificate has expired
W20240902-16:59:48.471(2)? (STDERR) at ClientRequest.<anonymous> (packages/modules.js:5800:11)
W20240902-16:59:48.471(2)? (STDERR) at ClientRequest.emit (events.js:400:28)
W20240902-16:59:48.471(2)? (STDERR) at ClientRequest.emit (domain.js:475:12)
W20240902-16:59:48.472(2)? (STDERR) at TLSSocket.socketErrorListener (_http_client.js:478:9)
W20240902-16:59:48.472(2)? (STDERR) at TLSSocket.emit (events.js:400:28)
W20240902-16:59:48.472(2)? (STDERR) at TLSSocket.emit (domain.js:475:12)
W20240902-16:59:48.472(2)? (STDERR) at emitErrorNT (internal/streams/destroy.js:106:8)
W20240902-16:59:48.472(2)? (STDERR) at emitErrorCloseNT (internal/streams/destroy.js:74:3)
W20240902-16:59:48.472(2)? (STDERR) at processTicksAndRejections (internal/process/task_queues.js:82:21)
W20240902-16:59:48.472(2)? (STDERR) => awaited here:
W20240902-16:59:48.473(2)? (STDERR) at Function.Promise.await (/home/bruno/.meteor/packages/promise/.0.12.2.pxl5h7.fzvfd++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/meteor-promise/promise_server.js:56:12)
W20240902-16:59:48.473(2)? (STDERR) at imports/api/appclients/nextcloud.js:74:19
W20240902-16:59:48.473(2)? (STDERR) at /home/bruno/.meteor/packages/promise/.0.12.2.pxl5h7.fzvfd++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/meteor-promise/fiber_pool.js:43:40
W20240902-16:59:48.473(2)? (STDERR) => awaited here:
W20240902-16:59:48.473(2)? (STDERR) at Function.Promise.await (/home/bruno/.meteor/packages/promise/.0.12.2.pxl5h7.fzvfd++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/meteor-promise/promise_server.js:56:12)
W20240902-16:59:48.473(2)? (STDERR) at imports/api/appclients/nextcloud.js:578:20
W20240902-16:59:48.473(2)? (STDERR) at /home/bruno/.meteor/packages/promise/.0.12.2.pxl5h7.fzvfd++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/meteor-promise/fiber_pool.js:43:40
W20240902-16:59:48.473(2)? (STDERR) (Use `node --trace-warnings ...` to show where the warning was created)
W20240902-16:59:48.474(2)? (STDERR) (node:55565) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 4)
W20240902-16:59:48.474(2)? (STDERR) (node:55565) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.