[functions][android] add null check to logging
This commit is contained in:
parent
e5233c9af3
commit
a767558f76
|
@ -42,7 +42,7 @@ public class RNFirebaseFunctions extends ReactContextBaseJavaModule {
|
||||||
@ReactMethod
|
@ReactMethod
|
||||||
public void httpsCallable(final String name, ReadableMap wrapper, final Promise promise) {
|
public void httpsCallable(final String name, ReadableMap wrapper, final Promise promise) {
|
||||||
Object input = wrapper.toHashMap().get(DATA_KEY);
|
Object input = wrapper.toHashMap().get(DATA_KEY);
|
||||||
Log.d(TAG, "function:call:input:" + name + ":" + input.toString());
|
Log.d(TAG, "function:call:input:" + name + ":" + (input != null ? input.toString() : "null"));
|
||||||
|
|
||||||
HttpsCallableReference httpsCallableReference = FirebaseFunctions
|
HttpsCallableReference httpsCallableReference = FirebaseFunctions
|
||||||
.getInstance()
|
.getInstance()
|
||||||
|
|
Loading…
Reference in New Issue