Skip to content

Commit bd6592d

Browse files
committed
Fixed start command not throwing any exceptions
1 parent c057c20 commit bd6592d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/main/java/org/javawebstack/framework/command/StartCommand.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@ public class StartCommand implements Command {
1313
@Inject
1414
private WebApplication application;
1515
public CommandResult execute(CommandSystem commandSystem, List<String> list, Map<String, List<String>> map) {
16-
try {
17-
application.start();
18-
}catch (Throwable throwable){
19-
return CommandResult.error(throwable);
20-
}
16+
application.start();
2117
return CommandResult.success();
2218
}
2319
}

0 commit comments

Comments
 (0)