test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/HttpServer.java in calabash-android-0.4.7.pre8 vs test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/HttpServer.java in calabash-android-0.4.7.pre9
- old
+ new
@@ -46,10 +46,10 @@
throw new IllegalStateException("Can only instantiate once!");
}
try {
instance = new HttpServer(testServerPort);
} catch (IOException e) {
- new RuntimeException(e);
+ throw new RuntimeException(e);
}
return instance;
}
public synchronized static HttpServer getInstance() {