You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a syntax error is recorded in either a beforeConnect, beforeSubscribe, or afterLiveQueryEvent trigger, the error is logged without any useful infomation to help diagnose.
Steps to reproduce
Create a LQ trigger with a JS error.
Actual Outcome
Failed running beforeConnect for session undefined with:
Error: {}
Expected Outcome
Failed running beforeConnect for session undefined with:
Error: foo is undefined
Environment
Server
Parse Server version: master
Operating system: macos
Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): local
Database
System (MongoDB or Postgres): mongo
Database version: 5
Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): local
🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.
New Issue Checklist
Issue Description
When a syntax error is recorded in either a
beforeConnect
,beforeSubscribe
, orafterLiveQueryEvent
trigger, the error is logged without any useful infomation to help diagnose.Steps to reproduce
Create a LQ trigger with a JS error.
Actual Outcome
Expected Outcome
Environment
Server
master
macos
local
Database
mongo
5
local
Client
JS
master
Logs
The text was updated successfully, but these errors were encountered: