Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix build

Louis Beaumont86b2fda0043d
diff --git a/screenpipe-server/src/bin/screenpipe-server.rs b/screenpipe-server/src/bin/screenpipe-server.rs
index a6e56aaae..9376107ea 100644
--- a/screenpipe-server/src/bin/screenpipe-server.rs
+++ b/screenpipe-server/src/bin/screenpipe-server.rs
@@ -138,10 +138,7 @@ async fn main() -> anyhow::Result<()> {
error!(
"you're likely already running screenpipe instance in a different environment, e.g. terminal/ide, close it and restart or use different port"
);
- return Err(std::io::Error::new(
- std::io::ErrorKind::AddrInUse,
- "Address in use",
- ));
+ return Err(anyhow::anyhow!("port already in use"));
}
let local_data_dir = get_base_dir(&cli.data_dir)?;