···317317 await upsertSiteCache(did, rkey, record.data.cid, {});
318318 } catch (err) {
319319 // Don't fail the upload if caching fails
320320- logger.warn('Failed to cache site', err);
320320+ logger.warn('Failed to cache site', err as any);
321321 }
322322323323 // Auto-map claimed domain to this site if user has a claimed domain with no rkey
···331331 logger.info(`Auto-mapped domain ${existingDomain} to new site ${siteName}`);
332332 }
333333 }
334334- } catch (err) {
335335- // Don't fail the upload if domain mapping fails
336336- logger.warn('Failed to auto-map domain to new site', err);
337337- }
334334+ } catch (err) {
335335+ // Don't fail the upload if domain mapping fails
336336+ logger.warn('Failed to auto-map domain to new site', err as any);
337337+ }
338338339339 completeUploadJob(jobId, {
340340 success: true,
···888888 await upsertSiteCache(did, rkey, record.data.cid, fileCids);
889889 } catch (err) {
890890 // Don't fail the upload if caching fails
891891- logger.warn('Failed to cache site files', err);
891891+ logger.warn('Failed to cache site files', err as any);
892892 }
893893894894 // Auto-map claimed domain to this site if user has a claimed domain with no rkey
···904904 }
905905 } catch (err) {
906906 // Don't fail the upload if domain mapping fails
907907- logger.warn('Failed to auto-map domain to new site', err);
907907+ logger.warn('Failed to auto-map domain to new site', err as any);
908908 }
909909910910 // Clean up old subfs records if we had any
···11351135 await upsertSiteCache(auth.did, rkey, record.data.cid, {});
11361136 } catch (err) {
11371137 // Don't fail the upload if caching fails
11381138- logger.warn('Failed to cache site', err);
11381138+ logger.warn('Failed to cache site', err as any);
11391139 }
1140114011411141 // Auto-map claimed domain to this site if user has a claimed domain with no rkey
···11511151 }
11521152 } catch (err) {
11531153 // Don't fail the upload if domain mapping fails
11541154- logger.warn('Failed to auto-map domain to new site', err);
11541154+ logger.warn('Failed to auto-map domain to new site', err as any);
11551155 }
1156115611571157 return {