Skip to content

Commit 54b2a1e

Browse files
committed
refactor(remote_config): concat exception message lines
1 parent 3c158b0 commit 54b2a1e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/firebase_remote_config/firebase_remote_config_platform_interface/lib/src/method_channel/method_channel_firebase_remote_config.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,8 @@ class MethodChannelFirebaseRemoteConfig extends FirebaseRemoteConfigPlatform {
291291
void _checkIsSupportedType(dynamic value) {
292292
if (value is! bool && value is! num && value is! String) {
293293
throw Exception(
294-
"Non-primitive types are not supported as config values. If you're trying to pass a json object – convert it to string beforehand",
294+
'Non-primitive types are not supported as config values. '
295+
"If you're trying to pass a json object – convert it to string beforehand",
295296
);
296297
}
297298
}

0 commit comments

Comments
 (0)