Handle error parsing scuffed config.json

This commit is contained in:
Natsumi
2025-05-27 02:02:55 +10:00
parent 9bd5c79a71
commit 78daeac736
3 changed files with 73 additions and 41 deletions

View File

@@ -554,11 +554,16 @@ export default class extends baseClass {
} else if (contentType === 'world') {
// hmm
} else if (contentType === 'created') {
// on avatar upload
// on avatar upload, might be gone now
} else if (contentType === 'avatargallery') {
// on avatar gallery image upload
} else if (contentType === 'invitePhoto') {
// on uploading invite photo
} else if (!contentType) {
console.log(
'content-refresh without contentType',
content
);
} else {
console.log(
'Unknown content-refresh type',