minor cleanup.

This commit is contained in:
kay.one 2013-06-02 20:44:31 -07:00
commit 6c1d16ae57
5 changed files with 9 additions and 4 deletions

View file

@ -106,7 +106,7 @@ namespace NzbDrone.Core.Datastore
{
if (model.Id != 0)
{
throw new InvalidOperationException("Can't insert model with existing ID");
throw new InvalidOperationException("Can't insert model with existing ID " + model.Id);
}
DataMapper.Insert(model);