Skip to content

Commit d0a3a09

Browse files
author
Luke Bakken
committed
Tweak error message text to quote the underlying error.
1 parent 31307bc commit d0a3a09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RiakClient/Exceptions/RiakException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public RiakException(string message, Exception innerException)
6767
/// <param name="message">A message that describes the error.</param>
6868
/// <param name="nodeOffline">A flag to mark if the node was offline or unreachable at the time of the error.</param>
6969
public RiakException(int errorCode, string message, bool nodeOffline)
70-
: this(string.Format("Riak returned an error. Code '{0}'. Message: {1}", errorCode, message))
70+
: this(string.Format("Riak returned an error. Code '{0}'. Message: '{1}'", errorCode, message))
7171
{
7272
this.nodeOffline = nodeOffline;
7373
this.errorCode = errorCode;

0 commit comments

Comments
 (0)