-
Notifications
You must be signed in to change notification settings - Fork 978
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
Custom Event without subject makes emulator crash #5803
Comments
This issue does not seem to follow the issue template. Make sure you provide all the required information. |
Reproduced this with a custom event published via the |
@Zambonilli could you share the debug logs & what version of firebase-tools you are using? I believe this issue is fixed, but its possible that there is somewhere else in the code where we are unsafely accessing 'ceString' |
I'm using firebase-tools version 11.30.0 and below is the stack trace of the crashing error.
|
Ahhh - the fix for this went out in 12.0.1, so you'll need to upgrade to get it. |
Environment info
firebase-tools: 11.30.0
Platform: macOS
Steps to reproduce
subject
inattributes
getOptionalAttribute
ineventarcEmulatorUtils.js
Expected behavior
Emulator should parse the event correctly because
subject
is optional.Actual behavior
Emulator crashes because it's unable to parse the event.
Logs
The text was updated successfully, but these errors were encountered: