diff --git a/VectoCommon/VectoCommon/Models/LoggingObject.cs b/VectoCommon/VectoCommon/Models/LoggingObject.cs index fe8dcae3267738e48899a8bc13ff233a483edd3c..389518e2ab5e7cff3ed52ac5bf212475749526cb 100644 --- a/VectoCommon/VectoCommon/Models/LoggingObject.cs +++ b/VectoCommon/VectoCommon/Models/LoggingObject.cs @@ -145,7 +145,7 @@ namespace TUGraz.VectoCommon.Models public void Error(Exception e, string message = null, params object[] args) { if (LogEnabled) { - _log.Error(e, message, args); + _log.Error(e.Message, message, args); } }