Browse Source

Exception message improved.

pull/539/head
Sebastian 6 years ago
parent
commit
4381770c9d
  1. 4
      backend/src/Squidex.Domain.Apps.Entities/Contents/ContentOperationContext.cs

4
backend/src/Squidex.Domain.Apps.Entities/Contents/ContentOperationContext.cs

@ -60,12 +60,12 @@ namespace Squidex.Domain.Apps.Entities.Contents
if (app == null)
{
throw new InvalidOperationException("Cannot resolve app.");
throw new InvalidOperationException($"Cannot resolve app with id {appId}.");
}
if (schema == null)
{
throw new InvalidOperationException("Cannot resolve schema.");
throw new InvalidOperationException($"Cannot resolve schema with id id {schemaId}.");
}
this.app = app;

Loading…
Cancel
Save