overwolf.io.readFileContents fails when the file is being used by another process

In my case, I want to send the game log files for debug when an exception occurs, and the log file is used by the game itself.

Since it’s only a read operation, isn’t there a way to access the file’s contents even when the file itself is locked by the game?

@sebastientromp before we diving here to find the issue, have you tried to use the new overwolf.extensions.io. readTextFile()? it might solve it (not sure though, please update me).

1 Like

That worked, thanks! (I used overwolf.io.readTextFile instead of overwolf.extensions.io.readTextFile because the file is a game log file)