fixed build error

pull/3113/head
Keivan Beigi 10 years ago
parent 04f05bdb83
commit 2d42d1ce6a

@ -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…
Cancel
Save