diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2018-06-11 11:26:47 +0300 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2018-06-11 11:26:47 +0300 |
| commit | 23600da8f47bde5e0916b0bea3edb17b9911c654 (patch) | |
| tree | 8a1a685c6e66eaad5e9df0993f628ca842fee00d /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/ViewModels/DbTableViewModel.cs | |
| parent | 51d7c41cbbec95d2428a270b3f585011aa9babf3 (diff) | |
| parent | b21d8e7c164b63d14d15cfdf3dda68ae88a03043 (diff) | |
| download | Tango-23600da8f47bde5e0916b0bea3edb17b9911c654.tar.gz Tango-23600da8f47bde5e0916b0bea3edb17b9911c654.zip | |
Merge branch 'master' of https://twinetfs.visualstudio.com/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/ViewModels/DbTableViewModel.cs')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/ViewModels/DbTableViewModel.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/ViewModels/DbTableViewModel.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/ViewModels/DbTableViewModel.cs index 8366a3e83..fc762d77d 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/ViewModels/DbTableViewModel.cs +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/ViewModels/DbTableViewModel.cs @@ -155,7 +155,7 @@ namespace Tango.MachineStudio.DB.ViewModels catch (Exception ex) { Adapter.Invalidate(); - _notification.ShowError("Could not delete entity."); + _notification.ShowError("Could not delete entity." + Environment.NewLine + ex.Message); } SelectedEntity = null; @@ -251,7 +251,7 @@ namespace Tango.MachineStudio.DB.ViewModels Adapter.Invalidate(); _notification.ShowError("Could not save entity." + Environment.NewLine + ex.InnerException.InnerException != null ? ex.InnerException.InnerException.Message : ex.InnerException.Message); } - catch (Exception ex) + catch (Exception) { Adapter.Invalidate(); _notification.ShowError("Could not save entity." + Environment.NewLine + "Please make sure all fields are properly populated."); |
