Merge branch 'patch-1' into 'master'

Update soapbox.js to log soapbox.json parsing errors to the console.  Fixes #171

Closes #171

See merge request soapbox-pub/soapbox-fe!66
This commit is contained in:
Alex Gleason 2020-06-10 00:22:06 +00:00
commit 9da7037fcf

View file

@ -21,9 +21,12 @@ export function importSoapboxConfig(soapboxConfig) {
}
export function soapboxConfigFail(error) {
if (!error.response) {
console.error('soapbox.json parsing error: ' + error);
}
return {
type: SOAPBOX_CONFIG_REQUEST_FAIL,
error,
skipAlert: true,
};
};
}