mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
message fixes
This commit is contained in:
parent
f3db82b59d
commit
0bc47335e9
@ -68,7 +68,7 @@ export default class AssetFile extends PureComponent<
|
|||||||
this.setState({ isLoading: false, error: error.message })
|
this.setState({ isLoading: false, error: error.message })
|
||||||
ReactGA.event({
|
ReactGA.event({
|
||||||
category: 'Purchase',
|
category: 'Purchase',
|
||||||
action: 'purchaseAsset-error ' + error
|
action: 'purchaseAsset-error ' + error.message
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -300,11 +300,11 @@ class Publish extends Component<{}, PublishState> {
|
|||||||
// make readable errors
|
// make readable errors
|
||||||
Logger.log('error:', e)
|
Logger.log('error:', e)
|
||||||
this.setState({
|
this.setState({
|
||||||
publishingError: e
|
publishingError: e.message
|
||||||
})
|
})
|
||||||
ReactGA.event({
|
ReactGA.event({
|
||||||
category: 'Publish',
|
category: 'Publish',
|
||||||
action: 'registerAsset-error' + e
|
action: 'registerAsset-error' + e.message
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
this.setState({
|
this.setState({
|
||||||
|
Loading…
Reference in New Issue
Block a user