Skip to content

Conversation

@aanorbel
Copy link
Member

No description provided.

@aanorbel aanorbel requested a review from sdsantos November 13, 2024 12:17
Comment on lines 32 to 38
fileSystem
.run { if (append) appendingSink(absolutePath) else sink(absolutePath) }
.use { sink ->
sink.buffer().use {
it.writeUtf8(contents)
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is meant to fix the OutOfMemoryCrash? If so, likely the log message below needs to be different. Maybe we should split into 2 different try/catches. And the log message should probably be Logger.w or Logger.e so we get this on Sentry.

@aanorbel aanorbel merged commit 4d2a0d8 into main Nov 14, 2024
7 checks passed
@aanorbel aanorbel deleted the fix/test-name branch November 14, 2024 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants