Skip to content

EEXIST error when using functions_worker_process_count #1230

Closed

Description

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions