Skip to content

Commit 41066dc

Browse files
committed
update copy file snippet error handling
1 parent 146a691 commit 41066dc

File tree

1 file changed

+1
-1
lines changed
  • src/pages/[platform]/build-a-backend/storage/copy-files

1 file changed

+1
-1
lines changed

src/pages/[platform]/build-a-backend/storage/copy-files/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ const copyFile = async () => {
101101
}
102102
});
103103
} catch (error) {
104-
console.error('Error', err);
104+
console.error('Error', error);
105105
}
106106
};
107107
```

0 commit comments

Comments
 (0)