Skip to content
Snippets Groups Projects
Unverified Commit e5075488 authored by Noah Moss's avatar Noah Moss Committed by GitHub
Browse files

Re-throw error in custom map form so that it appears on frontend (#16580)

parent c34dac7a
Branches
Tags
No related merge requests found
......@@ -62,6 +62,7 @@ export default class CustomGeoJSONWidget extends Component {
await this.props.reloadSettings();
} catch (e) {
console.warn("Save failed: ", e);
throw e;
}
};
......@@ -338,7 +339,7 @@ const EditMap = ({
</SettingContainer>
</div>
</div>
<div className="flex-full ml4 relative bordered rounded flex my4">
<div className="flex-auto ml4 relative bordered rounded flex my4">
{geoJson || geoJsonLoading || geoJsonError ? (
<LoadingAndErrorWrapper loading={geoJsonLoading} error={geoJsonError}>
{() => (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment