1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00

message fixes

This commit is contained in:
Jernej Pregelj 2019-04-08 11:41:06 +02:00
parent f3db82b59d
commit 0bc47335e9
2 changed files with 3 additions and 3 deletions

View File

@ -68,7 +68,7 @@ export default class AssetFile extends PureComponent<
this.setState({ isLoading: false, error: error.message })
ReactGA.event({
category: 'Purchase',
action: 'purchaseAsset-error ' + error
action: 'purchaseAsset-error ' + error.message
})
}
}

View File

@ -300,11 +300,11 @@ class Publish extends Component<{}, PublishState> {
// make readable errors
Logger.log('error:', e)
this.setState({
publishingError: e
publishingError: e.message
})
ReactGA.event({
category: 'Publish',
action: 'registerAsset-error' + e
action: 'registerAsset-error' + e.message
})
}
this.setState({