- added support for Toshiba "settingsDB.db" lists

This commit is contained in:
Horst Beham
2021-01-23 09:35:00 +01:00
parent c9fb32f40b
commit 4abe7a0b35
8 changed files with 288 additions and 23 deletions

View File

@@ -534,7 +534,8 @@ namespace ChanSort.Ui
catch (Exception ex)
{
serializer?.Dispose();
errorMsgs.AppendLine($"{plugin.DllName} ({plugin.PluginName}): {ex}\n\n");
var errMsg = ex is FileLoadException ? ex.Message : ex.ToString(); // FileLoadExceptions are normal when a Loader does not support a file. No stack trace needed
errorMsgs.AppendLine($"{plugin.DllName} ({plugin.PluginName}): {errMsg}\n\n");
if (ex is ArgumentException)
{
var msg = ex.ToString();