TomInternalException hander
This commit is contained in:
parent
e33b020b56
commit
40ab6d0f36
@ -16,6 +16,7 @@ using BismNormalizer.TabularCompare.Core;
|
||||
using BismNormalizer.TabularCompare.UI;
|
||||
using CefSharp;
|
||||
using CefSharp.WinForms;
|
||||
using Microsoft.AnalysisServices.Tabular;
|
||||
|
||||
namespace AlmToolkit
|
||||
{
|
||||
@ -273,6 +274,11 @@ namespace AlmToolkit
|
||||
this.CompareTabularModels();
|
||||
toolStripStatusLabel1.Text = "ALM Toolkit - finished comparing datasets";
|
||||
}
|
||||
catch (TomInternalException)
|
||||
{
|
||||
MessageBox.Show("TOM internal serialization error occurred. Please ensure JSON is valid tabular model metadata.", Utils.AssemblyProduct, MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
SetNotComparedState();
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
MessageBox.Show(exc.Message, Utils.AssemblyProduct, MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
|
Loading…
Reference in New Issue
Block a user