From 490c0c84611f473331e1390afcb07ee2d7d6865b Mon Sep 17 00:00:00 2001 From: Johnpaul Date: Mon, 16 Dec 2024 22:13:26 +0100 Subject: [PATCH] fix CI --- golem-ui-service/src/lib.rs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/golem-ui-service/src/lib.rs b/golem-ui-service/src/lib.rs index 1add97a7b..a3c9b70e0 100644 --- a/golem-ui-service/src/lib.rs +++ b/golem-ui-service/src/lib.rs @@ -205,3 +205,17 @@ impl UiService { Ok(()) } } + +#[tokio::main] +pub async fn main() { + let args = CliArgs::parse(); + + let res = UiService::new(args) + .run() + .await; + + match res { + Err(e) => println!("Error starting UI: {}", e), + Ok(_) => println!("UI Server stopped"), + } +}