Skip to content

Commit

Permalink
[gh-#783] report error
Browse files Browse the repository at this point in the history
  • Loading branch information
khaliqgant committed Jul 19, 2023
1 parent 480d7a5 commit 1e59ddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/lib/controllers/sync.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class SyncController {
} catch (e) {
const environmentId = getEnvironmentId(res);
const accountId = (await environmentService.getAccountIdFromEnvironment(environmentId)) as number;
errorManager.report(new Error('error_creating_sync_config'), {
errorManager.report(e, {
accountId
});
next(e);
Expand Down

0 comments on commit 1e59ddd

Please sign in to comment.