We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 991fd31 commit f757065Copy full SHA for f757065
firebase-functions/src/main/java/com/google/firebase/functions/FirebaseFunctionsException.java
@@ -199,7 +199,7 @@ static Code fromHttpStatus(int status) {
199
// The default description needs to be updated for the new code.
200
description = code.name();
201
}
202
- if (error.opt("message") instanceof String) {
+ if (error.opt("message") instanceof String && !error.getString("message").isEmpty()) {
203
description = error.getString("message");
204
205
details = error.opt("details");
0 commit comments