From ad780cf3683b87cee31480da0ec55a9d883b7428 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Wed, 15 Jan 2025 08:55:43 +0100 Subject: [PATCH] Don't throw if we only got warnings. --- src/bgen/Generator.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bgen/Generator.cs b/src/bgen/Generator.cs index a9caaa7e9812..c16da26d7be5 100644 --- a/src/bgen/Generator.cs +++ b/src/bgen/Generator.cs @@ -1536,6 +1536,7 @@ void ThrowIfExceptions () if (exceptions.All (v => v is BindingException pe && !pe.Error)) { foreach (var e in exceptions) ErrorHelper.Show (e); + return; } throw new AggregateException (exceptions);