Skip to content

Commit

Permalink
improving the message for #391
Browse files Browse the repository at this point in the history
  • Loading branch information
dadhi committed Apr 12, 2021
1 parent a2f7c3f commit d4af2ba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/DryIoc/Container.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13502,11 +13502,11 @@ public static readonly int
"Unable to interpret the nested lambda with Body:" + NewLine +
"{0}"),
WaitForScopedServiceIsCreatedTimeoutExpired = Of(
"We have waited for the creation of the scoped service by 'other party' for the {0} ticks without the success." + NewLine +
"It means that either the 'other party' is the parallel thread wрich has started! but unable to finish the creation of the service in the provided amount of time." + NewLine +
"Or more likely we have the undetected recursive dependency and the 'other party' is the same thread." + NewLine +
"DryIoc have waited for the creation of the scoped service by 'other party' for the {0} ticks without the success." + NewLine +
"It means that either the 'other party' is the parallel thread which has started! but unable to finish the creation of the service in the provided amount of time." + NewLine +
"Or more likely there is an undetected recursive dependency and the 'other party' is the same thread." + NewLine +
"Another reason may be that the previous scoped service resolution is failed with the exception and the exception was CATCHED " + NewLine +
"but you are proceeding to resolve the failed service again." + NewLine +
"but you are trying to resolve the failed service again." + NewLine +
"That's why for all these reasons we have a timeout to prevent the hanging due to the infinite waiting.");

#pragma warning restore 1591 // "Missing XML-comment"
Expand Down

0 comments on commit d4af2ba

Please sign in to comment.