Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #37 from mhutch/error-cleanup
Browse files Browse the repository at this point in the history
Report errors individually
  • Loading branch information
Therzok committed May 19, 2016
2 parents 8f6214f + eb4b97c commit 4247708
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Mono.Addins/Mono.Addins.Database/AddinScanner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,8 @@ public void ScanFile (IProgressStatus monitor, string file, AddinScanFolderInfo

if (errors.Count > 0) {
scanSuccessful = false;
monitor.ReportError ("Errors found in add-in '" + file + ":", null);
foreach (string err in errors)
monitor.ReportError (err, null);
monitor.ReportError (string.Format ("{0}: {1}", file, err), null);
}

// Make sure all extensions sets are initialized with the correct add-in id
Expand Down

0 comments on commit 4247708

Please sign in to comment.