# 30 When things go wrong

## 30.9 Asynchronous Exceptions

Looks like I can’t get test.dat to have all 0’s. If the thread exceptions the file ends up empty. Maybe GHC changed the way it deals with writing files since this was written?