[Lldb-commits] [lldb] [lldb] Return llvm::Error from EnableLogChannel (PR #206479)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 30 05:26:08 PDT 2026


================
@@ -28,5 +28,5 @@ def test_enable_invalid_path(self):
         self.expect(
             "log enable lldb all -f " + invalid_path,
             error=True,
-            substrs=["Unable to open log file '" + invalid_path + "': ", "\n"],
+            substrs=["Unable to open log file '" + invalid_path + "': "],
----------------
DavidSpickett wrote:

This changed because we don't put newlines on the end of errors. The newline was not needed anyway because the command handler will add one before the next prompt.

https://github.com/llvm/llvm-project/pull/206479


More information about the lldb-commits mailing list