mirror of
https://github.com/appwrite/appwrite
synced 2026-05-20 23:48:23 +00:00
add todo
This commit is contained in:
parent
8a59a22c2e
commit
fb0da77d2f
1 changed files with 2 additions and 0 deletions
|
|
@ -947,6 +947,8 @@ App::error()
|
|||
|
||||
$type = $error->getType();
|
||||
|
||||
// TODO filter out secrets and server details when not in development
|
||||
// but devKey is provided
|
||||
$output = ((App::isDevelopment()) || (!$devKey->isEmpty())) ? [
|
||||
'message' => $message,
|
||||
'code' => $code,
|
||||
|
|
|
|||
Loading…
Reference in a new issue