Fixed JSON error log
This commit is contained in:
parent
2dc5660c91
commit
257766912f
1 changed files with 0 additions and 1 deletions
|
|
@ -4,7 +4,6 @@ const safeParseJSON = (data) => {
|
|||
const parsedJSON = JSON.parse(data);
|
||||
return parsedJSON;
|
||||
} catch (err) {
|
||||
console.error(err);
|
||||
return data;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue