mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-01-12 22:50:20 +08:00
[functions][android] add null check to logging
This commit is contained in:
@@ -42,7 +42,7 @@ public class RNFirebaseFunctions extends ReactContextBaseJavaModule {
|
||||
@ReactMethod
|
||||
public void httpsCallable(final String name, ReadableMap wrapper, final Promise promise) {
|
||||
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
|
||||
.getInstance()
|
||||
|
||||
Reference in New Issue
Block a user