diff options
author | Mikayla Hutchinson <m.j.hutchinson@gmail.com> | 2016-05-18 02:34:56 +0300 |
---|---|---|
committer | Mikayla Hutchinson <m.j.hutchinson@gmail.com> | 2016-05-18 02:34:56 +0300 |
commit | eb4b97c5e114a61efd2dcf8236df6fabf33121c3 (patch) | |
tree | 66da0d0be2aecc24346253cc9294edc7ebcb4af5 /Mono.Addins/Mono.Addins.Database | |
parent | 8f6214ff2ef873283c70a68026dd59eb107a8880 (diff) |
Report errors individually
"There are errors" isn't really a useful error. Make sure
each individual error has a source.
Diffstat (limited to 'Mono.Addins/Mono.Addins.Database')
-rw-r--r-- | Mono.Addins/Mono.Addins.Database/AddinScanner.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Mono.Addins/Mono.Addins.Database/AddinScanner.cs b/Mono.Addins/Mono.Addins.Database/AddinScanner.cs index ac146d6..5a8e771 100644 --- a/Mono.Addins/Mono.Addins.Database/AddinScanner.cs +++ b/Mono.Addins/Mono.Addins.Database/AddinScanner.cs @@ -278,9 +278,8 @@ namespace Mono.Addins.Database 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 |