File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
source/renderer/app/components/loading/syncing-connecting/SyncingProgress Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 44
55### Fixes
66
7- - Fixed decimals for syncing percentage ([ PR ] ( https://github.com/input-output-hk/daedalus/pull/ ) )
7+ - Fixed decimals for syncing percentage ([ PR 3106 ] ( https://github.com/input-output-hk/daedalus/pull/3106 ) )
88
99## 5.2.0
1010
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import {
1414 getProgressDescriptionByBlockSyncType ,
1515 getProgressNameByBlockSyncType ,
1616} from './utils' ;
17+ import { logger } from '../../../../utils/logging' ;
1718
1819type Props = Record < BlockSyncType , number > ;
1920
@@ -45,6 +46,9 @@ const getSafePercentage = (value: number): string => {
4546 try {
4647 return new BigNumber ( value ) . toFixed ( 2 ) . toString ( ) ;
4748 } catch ( error ) {
49+ logger . error ( 'SyncingProgress::Percentage::Error parsing sync percentage' , {
50+ error,
51+ } ) ;
4852 return '-' ;
4953 }
5054} ;
You can’t perform that action at this time.
0 commit comments