mirror of
https://github.com/openbullet/openbullet.git
synced 2023-10-21 07:33:42 -05:00
Fixed IgnoreResponseErrors
This commit is contained in:
@@ -412,7 +412,15 @@ namespace RuriLib
|
||||
data.LogNewLine();
|
||||
|
||||
// Perform the request
|
||||
(data.Address, data.ResponseCode, data.ResponseHeaders, data.Cookies) = request.Perform(localUrl, Method, data.ConfigSettings.IgnoreResponseErrors, GetLogBuffer(data));
|
||||
try
|
||||
{
|
||||
(data.Address, data.ResponseCode, data.ResponseHeaders, data.Cookies) = request.Perform(localUrl, Method, data.ConfigSettings.IgnoreResponseErrors, GetLogBuffer(data));
|
||||
}
|
||||
catch
|
||||
{
|
||||
if (data.ConfigSettings.IgnoreResponseErrors) return;
|
||||
throw;
|
||||
}
|
||||
|
||||
// Save the response content
|
||||
switch (ResponseType)
|
||||
|
||||
Reference in New Issue
Block a user