WeTransfer / Diagnostics

Allow users to easily share Diagnostics with your support team to improve the flow of fixing bugs.
MIT License
933 stars 53 forks source link

Crash happening when there is no space left on the device #37

Closed AvdLee closed 4 years ago

AvdLee commented 4 years ago

*** -[NSConcreteFileHandle writeData:]: No space left on device

This is happening inside the DiagnosticsLogger on line 146, inside the log method. This method can be called from many places.

We basically need to check whether there's enough space left to write the logs.