Skip to content

Commit 8167bae

Browse files
committed
lint fix
1 parent ba5b28b commit 8167bae

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

example/nextjs/app/error.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@ export default function ErrorPage({ error, reset }) {
1111
void (async () => {
1212
try {
1313
await startup();
14-
await Exceptionless.createException(error)
15-
.addTags("error-boundary")
16-
.setProperty("handledBy", "app/error.jsx")
17-
.submit();
14+
await Exceptionless.createException(error).addTags("error-boundary").setProperty("handledBy", "app/error.jsx").submit();
1815
} catch (submitError) {
1916
console.error("Exceptionless route boundary capture failed", submitError);
2017
}

example/nextjs/app/global-error.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@ export default function GlobalError({ error, reset }) {
1111
void (async () => {
1212
try {
1313
await startup();
14-
await Exceptionless.createException(error)
15-
.addTags("error-boundary")
16-
.setProperty("handledBy", "app/global-error.jsx")
17-
.submit();
14+
await Exceptionless.createException(error).addTags("error-boundary").setProperty("handledBy", "app/global-error.jsx").submit();
1815
} catch (submitError) {
1916
console.error("Exceptionless global boundary capture failed", submitError);
2017
}

0 commit comments

Comments
 (0)