Commit ce97de60 authored by nanahira's avatar nanahira

fix

parent d6ea18ef
Pipeline #8573 passed with stages
in 28 seconds
......@@ -79,7 +79,10 @@ export class AvatarApiService extends ConsoleLogger {
return data;
} catch (e) {
this.error(`Failed to download avatar from ${url}: ${e.toString()}`);
throw new BlankReturnMessageDto(404, 'Failed to download avatar');
throw new BlankReturnMessageDto(
404,
'Failed to download avatar',
).toException();
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment