Write /edit endpoint error to console

320b7b145005e79f1311e467cb0f6c17c7426dd3

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +2 -3Showing whitespace changes
src/endpoints/characters.js+2 -3
@@ -1046,9 +1046,8 @@ router.post('/edit', validateAvatarUrlMiddleware, async function (request, respo
1046 }1046 }
10471047
1048 return response.sendStatus(200);1048 return response.sendStatus(200);
1049 }1049 } catch (err) {
1050 catch {1050 console.error('An error occurred, character edit invalidated.', err);
1051 console.error('An error occurred, character edit invalidated.');
1052 }1051 }
1053});1052});
10541053