File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,8 @@ protected Task<T> InvalidStateAsync<T>([CallerMemberName] string methodName = ""
6868 /// </summary>
6969 private Exception CreateAndLogInvalidStateException ( string methodName )
7070 {
71- var error = $ "The state with the name '{ GetType ( ) . Name } ' cannot handle the method '{ methodName } '.";
71+ var error = $ "The state with the name '{ GetType ( ) . Name } ' cannot handle the method '{ methodName } '. " +
72+ $ "Responsible context: '{ Context . GetType ( ) . Name } '.";
7273
7374 // ReSharper disable once SuspiciousTypeConversion.Global
7475 ( Context as ILoggingComponent ) ? . Logger . Log ( LogLevel . Error , error ) ;
@@ -173,4 +174,4 @@ public override string ToString()
173174 /// Shortcut class for the stateMap dictionary
174175 /// </summary>
175176 public sealed class StateMap : Dictionary < int , StateBase > ;
176- }
177+ }
You can’t perform that action at this time.
0 commit comments