File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ export function listenToActivityChanges(addListener = false) {
98
98
activityRecognizers . forEach ( ( recognizerType ) => {
99
99
listenToActivityChangesFor ( recognizerType , addListener ) . catch ( ( err ) => {
100
100
console . error (
101
- `An error occurred while listening to ${ recognizerType } res activity changes: ${ err } `
101
+ `An error occurred while listening to ${ recognizerType } res activity changes: ${ JSON . stringify ( err ) } `
102
102
) ;
103
103
} ) ;
104
104
} ) ;
@@ -162,7 +162,7 @@ async function prepareGeolocationProvider(
162
162
await _preparing ;
163
163
return true ;
164
164
} catch ( e ) {
165
- console . error ( `GeolocationProvider couldn't be prepared: ${ e } ` ) ;
165
+ console . error ( `GeolocationProvider couldn't be prepared: ${ JSON . stringify ( e ) } ` ) ;
166
166
return false ;
167
167
} finally {
168
168
_preparing = null ;
You can’t perform that action at this time.
0 commit comments