1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-11-10 01:19:53 +01:00

fix: update splash nonexistent user (#10873)

This commit is contained in:
Mateusz Kwasniewski 2025-10-27 16:49:58 +01:00 committed by GitHub
parent 01c0d56277
commit 8b95cb5386
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,6 +45,11 @@ export default class UserSplashService {
}
async updateSplash(splash: IUserSplash): Promise<IUserSplash> {
return this.userSplashStore.updateSplash(splash);
try {
return this.userSplashStore.updateSplash(splash);
} catch (err) {
this.logger.warn(err);
return splash;
}
}
}