Skip to content

Commit 5b62003

Browse files
committed
Fixed #204
1 parent ef5665e commit 5b62003

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/UnityContainer.Diagnostic.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public partial class UnityContainer
2525

2626
private static Func<Exception, string> CreateMessage = (Exception ex) =>
2727
{
28-
return $"Resolution failed with error: {ex.Message}\n\nFor more detailed information run Unity in debug mode: new UnityContainer(ModeFlags.Diagnostic)";
28+
return $"Resolution failed with error: {ex.Message}\n\nFor more detailed information run Unity in debug mode: new UnityContainer().AddExtension(new Diagnostic())";
2929
};
3030

3131
private static string CreateDiagnosticMessage(Exception ex)

0 commit comments

Comments
 (0)