Skip to content

Commit

Permalink
Don't throw if we only got warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
rolfbjarne committed Jan 15, 2025
1 parent 3c93be0 commit ad780cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bgen/Generator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ad780cf

Please sign in to comment.