Skip to content

Commit e6c053c

Browse files
authored
message=>msg
1 parent 76e5a04 commit e6c053c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/AppPluginCreateCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public function render(Request \$request, Throwable \$exception): Response
165165
{
166166
\$code = \$exception->getCode();
167167
if (\$request->expectsJson()) {
168-
\$json = ['code' => \$code ? \$code : 500, 'message' => \$this->_debug ? \$exception->getMessage() : 'Server internal error', 'type' => 'failed'];
168+
\$json = ['code' => \$code ? \$code : 500, 'msg' => \$this->_debug ? \$exception->getMessage() : 'Server internal error', 'type' => 'failed'];
169169
\$this->_debug && \$json['traces'] = (string)\$exception;
170170
return new Response(200, ['Content-Type' => 'application/json'],
171171
\json_encode(\$json, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES));

0 commit comments

Comments
 (0)