9 merge requests!10602Issue #3438769 by vinmayiswamy, antonnavi, michelle, amateescu: Sub workspace does not clear,!10301Issue #3469309 by mstrelan, smustgrave, moshe weitzman: Use one-time login...,!10187Issue #3487488 by dakwamine: ExtensionMimeTypeGuesser::guessMimeType must support file names with "0" (zero) like foo.0.zip,!9929Issue #3445469 by pooja_sharma, smustgrave: Add additional test coverage for...,!9787Resolve issue 3479427 - bootstrap barrio issue under Windows,!9742Issue #3463908 by catch, quietone: Split OptionsFieldUiTest into two,!6502Draft: Resolve #2938524 "Plach testing issue",!38582585169-10.1.x,!3226Issue #2987537: Custom menu link entity type should not declare "bundle" entity key
@@ -174,7 +174,7 @@ function _drupal_log_error($error, $fatal = FALSE) {
...
@@ -174,7 +174,7 @@ function _drupal_log_error($error, $fatal = FALSE) {
// implementations to use it.
// implementations to use it.
\Drupal::logger('php')->log($severity,'%type: @message in %function (line %line of %file) @backtrace_string.',$error+['backtrace'=>$backtrace,'exception'=>$exception,'severity_level'=>$severity]);
\Drupal::logger('php')->log($severity,'%type: @message in %function (line %line of %file) @backtrace_string.',$error+['backtrace'=>$backtrace,'exception'=>$exception,'severity_level'=>$severity]);
}
}
catch(\Exception$e){
catch(\Throwable){
// We can't log, for example because the database connection is not
// We can't log, for example because the database connection is not
// available. At least try to log to PHP error log.
// available. At least try to log to PHP error log.
error_log(strtr('Failed to log error: '.Error::DEFAULT_ERROR_MESSAGE.' @backtrace_string',$error));
error_log(strtr('Failed to log error: '.Error::DEFAULT_ERROR_MESSAGE.' @backtrace_string',$error));
...
@@ -223,12 +223,16 @@ function _drupal_log_error($error, $fatal = FALSE) {
...
@@ -223,12 +223,16 @@ function _drupal_log_error($error, $fatal = FALSE) {
}
}
// Attempt to reduce verbosity by removing DRUPAL_ROOT from the file path
// Attempt to reduce verbosity by removing DRUPAL_ROOT from the file path
// in the message. This does not happen for (false) security.
// in the message. This also prevents full path disclosure, see