mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
add todo
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user