Skip to content

Commit ad780cf

Browse files
committed
Don't throw if we only got warnings.
1 parent 3c93be0 commit ad780cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bgen/Generator.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1536,6 +1536,7 @@ void ThrowIfExceptions ()
15361536
if (exceptions.All (v => v is BindingException pe && !pe.Error)) {
15371537
foreach (var e in exceptions)
15381538
ErrorHelper.Show (e);
1539+
return;
15391540
}
15401541

15411542
throw new AggregateException (exceptions);

0 commit comments

Comments
 (0)