We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ee8ce6 commit ef63345Copy full SHA for ef63345
1 file changed
crates/fluxqueue-worker/src/worker.rs
@@ -347,14 +347,15 @@ fn check_client_library_version() -> Result<()> {
347
})?;
348
349
let comparison = compare_versions(worker_version, &library_version);
350
+
351
if comparison == -1 {
- tracing::warn!(
352
- "Worker version '{}' is older than client library '{}'. For full functionality, update the worker to match the client version.",
+ return Err(anyhow!(
353
+ "Worker version '{}' is older than client library '{}'. \
354
+ Worker might not work properly, update the worker to match the client version.",
355
worker_version,
356
&library_version
- );
357
+ ));
358
}
-
359
if comparison == 1 {
360
return Err(anyhow!(
361
"Minimum required client library version is: {}, found: {}",
0 commit comments