wixplosives / engine

Scalable Web Application Engine
https://wixplosives.github.io/engine/
MIT License
23 stars 3 forks source link

refactor(communication): better communication errors #2568

Closed plisovyi closed 2 months ago

plisovyi commented 2 months ago
  1. cleanMessageForLog helper moved to helpers.ts to be reused both in debug logging of communication.ts and communication error creation
  2. renamed environment-disconnected-error.ts to communication-errors.ts and implemented inside base communications error class and custom classes for better messaging and potential to sort through errors in error monitoring solutions.
barak007 commented 2 months ago

much better