mirror of https://github.com/vapor/docs.git
Merge pull request #137 from vapor/BrettRToomey-patch-1
Added try to example
This commit is contained in:
commit
5cbd063143
|
|
@ -16,7 +16,7 @@ let drop = try Droplet()
|
|||
|
||||
// your magic here
|
||||
|
||||
drop.run()
|
||||
try drop.run()
|
||||
```
|
||||
|
||||
Creation of the `Droplet` normally happens in the `main.swift` file.
|
||||
|
|
|
|||
Loading…
Reference in New Issue