Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 688
Zeile 58... Zeile 58...
58
        if ($this->jsonApi === true) {
58
        if ($this->jsonApi === true) {
59
            $response = [
59
            $response = [
60
                'errors' => [
60
                'errors' => [
61
                    Formatter::formatExceptionAsDataArray(
61
                    Formatter::formatExceptionAsDataArray(
62
                        $this->getInspector(),
62
                        $this->getInspector(),
63
                        $this->addTraceToOutput()
63
                        $this->addTraceToOutput(),
-
 
64
                        $this->getRun()->getFrameFilters()
64
                    ),
65
                    ),
65
                ]
66
                ]
66
            ];
67
            ];
67
        } else {
68
        } else {
68
            $response = [
69
            $response = [
69
                'error' => Formatter::formatExceptionAsDataArray(
70
                'error' => Formatter::formatExceptionAsDataArray(
70
                    $this->getInspector(),
71
                    $this->getInspector(),
71
                    $this->addTraceToOutput()
72
                    $this->addTraceToOutput(),
-
 
73
                    $this->getRun()->getFrameFilters()
72
                ),
74
                ),
73
            ];
75
            ];
74
        }
76
        }
Zeile 75... Zeile 77...
75
 
77