Sounds like you have an unhandled error.

Show all the code.