Ignore empty message string in FirebaseFunctionsException
@@ -199,7 +199,7 @@ public class FirebaseFunctionsException extends FirebaseException {
// The default description needs to be updated for the new code.
description = code.name();
}
- if (error.opt("message") instanceof String) {
+ if (error.opt("message") instanceof String && !error.getString("message").isEmpty()) {
description = error.getString("message");
}
details = error.opt("details");
