mirror of https://github.com/vapor/docs.git
Removed try
Fix for warning: no calls to throwing functions occur within 'try' expression try drop.serve()
This commit is contained in:
parent
5190c4885c
commit
2fa9e69a0e
|
|
@ -78,7 +78,7 @@ drop.get("/hello") { _ in
|
|||
return "Hello Vapor"
|
||||
}
|
||||
|
||||
try drop.serve()
|
||||
drop.serve()
|
||||
```
|
||||
|
||||
## Build and Run
|
||||
|
|
|
|||
Loading…
Reference in New Issue