lab 7 (добавление warn)
This commit is contained in:
parent
1a626daa2b
commit
eaefd63d01
@ -92,6 +92,7 @@ namespace ProjectElectricLocomotive
|
|||||||
catch (StorageOverflowException ex)
|
catch (StorageOverflowException ex)
|
||||||
{
|
{
|
||||||
MessageBox.Show(ex.Message);
|
MessageBox.Show(ex.Message);
|
||||||
|
_logger.LogWarning("Не удалось добавить объект");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private void ButtonRemoveObject_Click(object sender, EventArgs e)
|
private void ButtonRemoveObject_Click(object sender, EventArgs e)
|
||||||
|
Loading…
Reference in New Issue
Block a user