1
0
Fork 0
mirror of synced 2024-10-02 10:16:27 +13:00

Update app/controllers/shared/api.php

Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
Vincent (Wen Yu) Ge 2023-08-01 12:21:34 -04:00 committed by GitHub
parent 3b4255c457
commit f6d2df8115
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@ $parseLabel = function (string $label, array $responsePayload, array $requestPar
$parts = explode('.', $match);
if (count($parts) !== 2) {
throw new Exception(Exception::GENERAL_SERVER_ERROR, "The server encountered an error while parsing the label: $label");
throw new Exception(Exception::GENERAL_SERVER_ERROR, "The server encountered an error while parsing the label: $label. Please create an issue on GitHub to allow us to investigate further https://github.com/appwrite/appwrite/issues/new/choose");
}
$namespace = $parts[0] ?? '';