fix: missing span name ("fn is not defined" error)

This commit is contained in:
KernelDeimos
2025-09-15 04:28:51 -04:00
parent ed5464f0c0
commit 4d92f4a3ce
+1 -1
View File
@@ -290,7 +290,7 @@ module.exports = class FSNodeContext {
*/
async fetchEntry (fetch_entry_options = {}) {
if ( this.fetching !== null ) {
await Context.get('services').get('traceService').spanify(async () => {
await Context.get('services').get('traceService').spanify('fetching', async () => {
// ???: does this need to be double-checked? I'm not actually sure...
if ( this.fetching === null ) return;
await this.fetching;