Browse Source

Align frame offset key to what debugkit is using.

The longer name helps provide more context.
Refs #14090
Mark Story 6 years ago
parent
commit
72503af338
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/Error/BaseErrorHandler.php

+ 3 - 3
src/Error/BaseErrorHandler.php

@@ -154,9 +154,9 @@ abstract class BaseErrorHandler
 
             // Can be used by error handlers that wrap other error handlers
             // to coerce the generated stack trace to the correct point.
-            if (isset($context['_trace_offset'])) {
-                $start += $context['_trace_offset'];
-                unset($context['_trace_offset']);
+            if (isset($context['_trace_frame_offset'])) {
+                $start += $context['_trace_frame_offset'];
+                unset($context['_trace_frame_offset']);
             }
             $data += [
                 'context' => $context,