mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-01-27 00:33:34 +00:00
Log the response regardless, if it is status 400 or greater.
This commit is contained in:
parent
c7883bbd53
commit
0718aa5352
@ -1124,7 +1124,7 @@ EOSQL;
|
||||
@header( sprintf("X-DAViCal-Version: DAViCal/%d.%d.%d; DB/%d.%d.%d", $c->code_major, $c->code_minor, $c->code_patch, $c->schema_major, $c->schema_minor, $c->schema_patch) );
|
||||
@header( "Content-type: ".$content_type );
|
||||
|
||||
if ( (isset($c->dbg['ALL']) && $c->dbg['ALL']) || (isset($c->dbg['response']) && $c->dbg['response']) ) {
|
||||
if ( (isset($c->dbg['ALL']) && $c->dbg['ALL']) || (isset($c->dbg['response']) && $c->dbg['response']) || $status > 399 ) {
|
||||
$lines = headers_list();
|
||||
dbg_error_log( "LOG ", "***************** Response Header ****************" );
|
||||
foreach( $lines AS $v ) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user