InitExt / DatabaseUpgrade as part of the try/catch
This commit is contained in:
parent
df3660fbcf
commit
3206110cf4
1 changed files with 27 additions and 27 deletions
|
@ -118,6 +118,7 @@ $_tracer->end();
|
|||
* Send events, display output *
|
||||
\* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
||||
|
||||
try {
|
||||
// $_tracer->mark(@$_SERVER["REQUEST_URI"]);
|
||||
$_tracer->begin(
|
||||
$_SERVER["REQUEST_URI"] ?? "No Request",
|
||||
|
@ -133,7 +134,6 @@ if (!SPEED_HAX) {
|
|||
}
|
||||
send_event(new InitExtEvent());
|
||||
|
||||
try {
|
||||
// start the page generation waterfall
|
||||
$user = _get_user();
|
||||
send_event(new UserLoginEvent($user));
|
||||
|
@ -157,8 +157,7 @@ try {
|
|||
$database->rollback();
|
||||
}
|
||||
_fatal_error($e);
|
||||
}
|
||||
|
||||
} finally {
|
||||
$_tracer->end();
|
||||
if (TRACE_FILE) {
|
||||
if (
|
||||
|
@ -171,3 +170,4 @@ if (TRACE_FILE) {
|
|||
$_tracer->flush(TRACE_FILE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue