Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Merge requests
!1581
Resolve
#3238915
"Refactor if feasible"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Resolve
#3238915
"Refactor if feasible"
issue/drupal-3238915:3238915-refactor-if-feasible
into
10.1.x
Overview
0
Commits
36
Pipelines
0
Changes
4
Closed
Théodore Biadala
requested to merge
issue/drupal-3238915:3238915-refactor-if-feasible
into
10.1.x
3 years ago
Overview
0
Commits
36
Pipelines
0
Changes
4
Expand
Closes
#3238915
0
0
Merge request reports
Viewing commit
07f87cae
Show latest version
4 files
+
87
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
Verified
07f87cae
Issue
#3319839
by alexpott: Exceptions in post updates are very broken since
#3295625
· 07f87cae
Lee Rowlands
authored
2 years ago
core/includes/update.inc
+
1
−
1
Options
@@ -247,7 +247,7 @@ function update_invoke_post_update($function, &$context) {
watchdog_exception
(
'update'
,
$e
);
$variables
=
Error
::
decodeException
(
$e
);
unset
(
$variables
[
'backtrace'
],
$variables
[
'exception'
]);
unset
(
$variables
[
'backtrace'
],
$variables
[
'exception'
]
,
$variables
[
'severity_level'
]
);
$ret
[
'#abort'
]
=
[
'success'
=>
FALSE
,
'query'
=>
t
(
Error
::
DEFAULT_ERROR_MESSAGE
,
$variables
),
Loading