1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-05 23:10:41 +03:00

Fix log to include some useful info

This commit is contained in:
Luke Barnard
2017-08-14 14:47:05 +01:00
parent 3d5d7fa9c8
commit 867e83edff

View File

@@ -190,7 +190,7 @@ export default {
const feature = this.getFeatureById(featureId);
if (!feature) {
console.warn('Unknown feature');
console.warn(`Unknown feature "${featureId}"`);
return false;
}
// Return the default if this feature has an override to be the default value or