Skip to content

Commit e9161d6

Browse files
[Sandbox] Update backup-restore.mdx (#28700)
Link to more info about `try...catch` statements. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/try...catch --------- Co-authored-by: Pedro Sousa <680496+pedrosousa@users.noreply.github.com>
1 parent e00e6d6 commit e9161d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/sandbox/guides/backup-restore.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ await sandbox.restoreBackup(backup);
333333

334334
## Handle errors
335335

336-
Backup and restore operations can throw specific errors. Wrap calls in try/catch blocks:
336+
Backup and restore operations can throw specific errors. Wrap calls in [`try...catch`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/try...catch) blocks:
337337

338338
<TypeScriptExample>
339339

0 commit comments

Comments
 (0)