Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
StackExchange.Redis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
StackExchange.Redis
Commits
09fabdab
Commit
09fabdab
authored
Jun 10, 2014
by
deepakverma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add innerexception message in case of a fault
parent
81f77850
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ConnectionMultiplexer.cs
...change.Redis/StackExchange/Redis/ConnectionMultiplexer.cs
+3
-3
No files found.
StackExchange.Redis/StackExchange/Redis/ConnectionMultiplexer.cs
View file @
09fabdab
...
@@ -662,7 +662,7 @@ public static async Task<ConnectionMultiplexer> ConnectAsync(string configuratio
...
@@ -662,7 +662,7 @@ public static async Task<ConnectionMultiplexer> ConnectAsync(string configuratio
bool
configured
=
await
muxer
.
ReconfigureAsync
(
true
,
false
,
log
,
null
,
"connect"
).
ObserveErrors
().
ForAwait
();
bool
configured
=
await
muxer
.
ReconfigureAsync
(
true
,
false
,
log
,
null
,
"connect"
).
ObserveErrors
().
ForAwait
();
if
(!
configured
)
if
(!
configured
)
{
{
throw
ExceptionFactory
.
UnableToConnect
();
throw
ExceptionFactory
.
UnableToConnect
(
muxer
.
failureMessage
);
}
}
killMe
=
null
;
killMe
=
null
;
return
muxer
;
return
muxer
;
...
@@ -685,7 +685,7 @@ public static async Task<ConnectionMultiplexer> ConnectAsync(ConfigurationOption
...
@@ -685,7 +685,7 @@ public static async Task<ConnectionMultiplexer> ConnectAsync(ConfigurationOption
bool
configured
=
await
muxer
.
ReconfigureAsync
(
true
,
false
,
log
,
null
,
"connect"
).
ObserveErrors
().
ForAwait
();
bool
configured
=
await
muxer
.
ReconfigureAsync
(
true
,
false
,
log
,
null
,
"connect"
).
ObserveErrors
().
ForAwait
();
if
(!
configured
)
if
(!
configured
)
{
{
throw
ExceptionFactory
.
UnableToConnect
();
throw
ExceptionFactory
.
UnableToConnect
(
muxer
.
failureMessage
);
}
}
killMe
=
null
;
killMe
=
null
;
return
muxer
;
return
muxer
;
...
@@ -733,7 +733,7 @@ public static ConnectionMultiplexer Connect(string configuration, TextWriter log
...
@@ -733,7 +733,7 @@ public static ConnectionMultiplexer Connect(string configuration, TextWriter log
throw
new
TimeoutException
();
throw
new
TimeoutException
();
}
}
}
}
if
(!
task
.
Result
)
throw
ExceptionFactory
.
UnableToConnect
();
if
(!
task
.
Result
)
throw
ExceptionFactory
.
UnableToConnect
(
muxer
.
failureMessage
);
killMe
=
null
;
killMe
=
null
;
return
muxer
;
return
muxer
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment