Commit fd72852d authored by James Addison's avatar James Addison
Browse files

Add promise rejection handler for custom brand image retrieval

(cherry picked from commit 4cde1fc7)
parent 5a6a3cdf
Pipeline #28359 passed with stage
in 18 minutes and 45 seconds
......@@ -69,7 +69,10 @@ export default class BrandImageSetting extends React.PureComponent {
this.setState({brandImageExists: false});
}
},
);
).catch(() => {
console.log('unable to retrieve brand image'); //eslint-disable-line no-console
this.setState({brandImageExists: false});
});
this.props.registerSaveAction(this.handleSave);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment