From 0556ce99f0c9085228cd7ed8f07e06709bf4f1b9 Mon Sep 17 00:00:00 2001 From: tgodzik Date: Wed, 13 Sep 2023 10:34:16 +0200 Subject: [PATCH] chore: Change frameworks not supported message to warn Previously, we would show an error whenever a native project was loaded, since we can't currently run tests for native. However, this will pop up currently in Metals as a server error, while it's more of a warning. There is nothing the user can do about it. Now, we report this as a warning. --- frontend/src/main/scala/bloop/engine/tasks/TestTask.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/main/scala/bloop/engine/tasks/TestTask.scala b/frontend/src/main/scala/bloop/engine/tasks/TestTask.scala index bb0ed3ca55..ecd9cd1503 100644 --- a/frontend/src/main/scala/bloop/engine/tasks/TestTask.scala +++ b/frontend/src/main/scala/bloop/engine/tasks/TestTask.scala @@ -249,7 +249,7 @@ object TestTask { } case _: Platform.Native => - logger.error("Detecting test frameworks in Scala Native projects is not yet supported") + logger.warn("Detecting test frameworks in Scala Native projects is not yet supported") Task.now(None) } }