fixed log formatting.

#9
This commit is contained in:
Chris.Watts90@outlook.com 2017-02-14 16:31:44 +00:00
parent a2cb93bf83
commit eb1ba4157a

View File

@ -184,7 +184,7 @@ namespace SQLiteRepository
} }
catch (Exception ex) catch (Exception ex)
{ {
_logger.Error(ex, "Error in GetTimeLogs with Id: {0}", userId); _logger.Error(ex, "Error in GetTimeLogs with Id: {0}, Exception: {1}", userId, ex);
} }
return ret; return ret;
@ -202,7 +202,7 @@ namespace SQLiteRepository
} }
catch (Exception ex) catch (Exception ex)
{ {
_logger.Error(ex, "Error in GetTimeLogs with Id: {0} and selected date: {1}", userId, selectedDate); _logger.Error(ex, "Error in GetTimeLogs with Id: {0} and selected date: {1}, Exception: {2}", userId, selectedDate, ex);
} }
return ret; return ret;