Skip to content

Commit 103f085

Browse files
committed
fix(networks-all): improve console message
Fixes #4
1 parent 752d5ee commit 103f085

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/networks/all.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable no-console */
12
import { getParent, flow } from 'mobx-state-tree';
23
import Network from './network';
34

@@ -11,7 +12,7 @@ export default Network.named('All')
1112
.filter(count => typeof count === 'number')
1213
.reduce((all, count) => all + count);
1314
} catch (error) {
14-
console.warn('shared.all.count', error);
15+
console.warn('shared.all.count failed', error);
1516
return null;
1617
}
1718
},

0 commit comments

Comments
 (0)