Skip to content

Commit a803ce0

Browse files
committed
chore: Update README.md
1 parent 923eb45 commit a803ce0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,13 @@ axiosAgent.interceptors.response.use(config => config, enhancedError => {
5555

5656
return result;
5757
});
58+
59+
// you can restore original agent behavior if needed
60+
const restoreAgent = axiosBetterStacktrace(axiosAgent);
61+
62+
// some code here...
63+
64+
restoreAgent();
5865
```
5966

6067
## Options

0 commit comments

Comments
 (0)