New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wraps main in a do/catch #45

merged 5 commits into from Feb 20, 2018


None yet
4 participants
Copy link

twof commented Feb 11, 2018

This should prevent a lot of confusion for new users. It's also just convenient.

} catch {

This comment has been minimized.


tanner0101 Feb 20, 2018


this results in successful exit of the application which will cause problems. We need to call exit(1) manually or do fatalError(...)

@0xTim 0xTim force-pushed the twof:patch-1 branch from 5b46068 to c3a6b83 Feb 20, 2018

try App.boot(app)

// The contents of main are wrapped in a do/catch block because any errors that get raised to the top level will crash XCode

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment