mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-12 08:07:10 -07:00
fixed build error
This commit is contained in:
parent
04f05bdb83
commit
2d42d1ce6a
2 changed files with 6 additions and 1 deletions
|
@ -24,7 +24,7 @@ namespace NzbDrone.Common
|
||||||
return merged;
|
return merged;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void Add<TKey, TValue>(this ICollection<KeyValuePair<TKey, TValue>> collection, TKey key, TValue value)
|
public static void Add<TKey, TValue>(this ICollection<KeyValuePair<TKey, TValue>> collection, TKey key, TValue value)
|
||||||
{
|
{
|
||||||
collection.Add(key, value);
|
collection.Add(key, value);
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,6 +44,11 @@ namespace NzbDrone.Core.Datastore.Migration.Framework
|
||||||
_logger.Error(message);
|
_logger.Error(message);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void Error(Exception exception)
|
||||||
|
{
|
||||||
|
_logger.ErrorException(exception.Message, exception);
|
||||||
|
}
|
||||||
|
|
||||||
public void Write(string message, bool escaped)
|
public void Write(string message, bool escaped)
|
||||||
{
|
{
|
||||||
_logger.Info(message);
|
_logger.Info(message);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue