Skip to content

Commit bfb008f

Browse files
authored
Merge pull request #215 from jerousseau/ConvertExceptionToRuntimeException-patch
Fix ConvertExceptionToRuntimeException
2 parents 18d09f2 + 3dcd45f commit bfb008f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/net45/WampSharp/WAMP2/V2/Rpc/Callee/LocalRpcOperation.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ protected static WampException ConvertExceptionToRuntimeException(Exception exce
157157
}
158158

159159
// TODO: Maybe try a different implementation.
160-
return new WampRpcRuntimeException(canceledException.Message);
160+
return new WampRpcRuntimeException(exception.Message);
161161
}
162162
}
163-
}
163+
}

0 commit comments

Comments
 (0)