Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monitor Transaction Error #4

Open
wip-abramson opened this issue May 20, 2018 · 2 comments
Open

Monitor Transaction Error #4

wip-abramson opened this issue May 20, 2018 · 2 comments

Comments

@wip-abramson
Copy link

Hi,

I keep getting an unhandled promise rejection when I monitor my transaction status.

(node:18372) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'status' of undefined
at res.transactions.forEach.transaction (/home/will/TheCommunityMind/server/node_modules/ostkit/lib/ostkit.js:33:78)
at Array.forEach ()
at transactiontypesStatus.then.res (/home/will/TheCommunityMind/server/node_modules/ostkit/lib/ostkit.js:32:30)
at
at process._tickCallback (internal/process/next_tick.js:118:7)
(node:18372) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 674)

The transaction still completes so not a big issue just wondered if I am doing something wrong. Happy to help fix it if needed.

Thanks,
Will

@wip-abramson wip-abramson changed the title Monitor Transaction Erro Monitor Transaction Error May 20, 2018
@wip-abramson
Copy link
Author

I think it may have been because I was not using stopMonitoringTransaction()

@wip-abramson
Copy link
Author

Actually, no its not that. Exceptions are not getting caught somewhere and it often causes my node server to get stuck in a callback loop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant