diff --git a/src/Umbraco.Infrastructure/Migrations/MigrationPlan.cs b/src/Umbraco.Infrastructure/Migrations/MigrationPlan.cs index df8e85a562..6509e43eef 100644 --- a/src/Umbraco.Infrastructure/Migrations/MigrationPlan.cs +++ b/src/Umbraco.Infrastructure/Migrations/MigrationPlan.cs @@ -365,7 +365,7 @@ public class MigrationPlan /// Throws an exception when the initial state is unknown. /// public virtual void ThrowOnUnknownInitialState(string state) => - throw new InvalidOperationException($"The migration plan does not support migrating from state \"{state}\"."); + throw new InvalidOperationException($"The migration plan \"{Name}\" does not support migrating from state \"{state}\"."); /// /// Follows a path (for tests and debugging).