Commit 6f0b5760 authored by Ahmad Sherif's avatar Ahmad Sherif
Browse files

Update Main.java

parent f08642b6
Pipeline #30182 failed with stage
in 39 seconds
......@@ -50,8 +50,6 @@ import java.util.Optional;
import java.util.Scanner;
import java.util.function.Consumer;
import java.util.function.Function;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.json.Json;
import javax.json.JsonObject;
......@@ -101,7 +99,7 @@ public class Main {
runCollector(config);
}
} catch (Throwable t) {
logger.log(Level.SEVERE, "Couldn't start server", t);
System.err.println(t);
} catch (RuntimeException ex) {
return onException(ex, options.has("debug"));
} catch (Exception ex) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment