Push Notification Rethrow non-MySQL errors
Closed this issue · 2 comments
shuurai commented
Bug or feature request
- Bug
- Feature request
Description of feature (or steps to reproduce if bug)
The problem did not happen in 1.5.4, but all versions after 1.6.0, seems to throw this error whenever notifyById is called.
Link to sample repo to reproduce issue (if bug)
Expected result
Should just return nothing and a null error object.
Actual result (if bug)
2017-01-20T17:36:56.976Z pid:31252 worker:41 TypeError: Cannot set property headersSent of #<OutgoingMessage> which has only a getter
2017-01-20T17:36:56.976Z pid:31252 worker:41 at _clone (/var/lib/strong-pm/svc/1/work/2a6ca6b55583c9fe5a4deb6d8ed96e14927dcf8d.1484933783962/node_modules/clone/clone.js:99:16)
2017-01-20T17:36:56.976Z pid:31252 worker:41 at _clone (/var/lib/strong-pm/svc/1/work/2a6ca6b55583c9fe5a4deb6d8ed96e14927dcf8d.1484933783962/node_modules/clone/clone.js:99:18)
2017-01-20T17:36:56.976Z pid:31252 worker:41 at _clone (/var/lib/strong-pm/svc/1/work/2a6ca6b55583c9fe5a4deb6d8ed96e14927dcf8d.1484933783962/node_modules/clone/clone.js:99:18)
2017-01-20T17:36:56.976Z pid:31252 worker:41 at _clone (/var/lib/strong-pm/svc/1/work/2a6ca6b55583c9fe5a4deb6d8ed96e14927dcf8d.1484933783962/node_modules/clone/clone.js:99:18)
2017-01-20T17:36:56.977Z pid:31252 worker:41 at _clone (/var/lib/strong-pm/svc/1/work/2a6ca6b55583c9fe5a4deb6d8ed96e14927dcf8d.1484933783962/node_modules/clone/clone.js:99:18)
2017-01-20T17:36:56.977Z pid:31252 worker:41 at _clone (/var/lib/strong-pm/svc/1/work/2a6ca6b55583c9fe5a4deb6d8ed96e14927dcf8d.1484933783962/node_modules/clone/clone.js:99:18)
Additional information (Node.js version, LoopBack version, etc)
UBUNTU 14
NODE v0.10.25
stale commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
elimcjah commented
How did you resolve this issue?