mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Tier2: fix regression preventing remote errors from being logged
When CURLParams::failOnError is set, it makes code stop instantly when the request has errored somewhere (400 or higher response codes), but this prevents code from displaying the error reason attached to the failed request. Setting this to false by default fixes the problem; if this option needs to be used it should be set explicitly.
This commit is contained in:
parent
ad741882ae
commit
b3796c32cc
@ -26,7 +26,7 @@ struct CURLParams
|
||||
, verifyPeer(false)
|
||||
, followRedirect(false)
|
||||
, verbose(false)
|
||||
, failOnError(true)
|
||||
, failOnError(false)
|
||||
{}
|
||||
|
||||
void* readFunction;
|
||||
|
Loading…
x
Reference in New Issue
Block a user