diff --git a/src/matrixeventprocessor.ts b/src/matrixeventprocessor.ts
index 142b3bfde6e26fb8c806e6739dd3489938e442d5..a17c99c54a0d99952cba22d928065d13cd3a021a 100644
--- a/src/matrixeventprocessor.ts
+++ b/src/matrixeventprocessor.ts
@@ -536,6 +536,8 @@ export class MatrixEventProcessor {
             log.info(this.bridge.botClient.accessToken);
             // eslint-disable-next-line @typescript-eslint/naming-convention
             const res = await this.bridge.botClient.doRequest("GET", avatarUrl, { allow_remote: true }, null, undefined, true, undefined, true);
+            log.info(res)
+            log.info(res.body)
             const contentType = res.headers["content-type"];
             const data = res.body;
             const base64 = `data:${contentType};base64,${data.toString('base64')}`;