EEXIST error when using functions_worker_process_count
ejizba opened this issue · comments
In Azure Functions, users can have multiple processes on the same instance if they use the functions_worker_process_count
setting (docs here). Unfortunately that can lead to the following uncaught exception:
Error while saving data to disk: [object Error]{ stack: 'Error: EEXIST: file already exists, mkdir 'C:\local\Temp\appInsights-node...
I don't know the best behavior here, but at minimum this error should be handled more gracefully instead of throwing an uncaught exception which can crash the Node.js process.