0

I am using SendGrid API to send an email. I am trying to log any error when sending an email. The response that I am getting is giving me 2 empty arrays at the end of the message which I don't know why. Please refer to the screenshot for the error message.

Error message screenshot

  • I don't know about SendGrid, but Monolog/Laravel puts that at the end of it's logging lines. I can't remember why, though. – aynber Jan 07 '20 at 16:54
  • Yeah, it is the same case. When I log the errors it then adds two empty arrays at the end which I am curious why? :/ – Laravel Dev Jan 07 '20 at 17:07
  • https://stackoverflow.com/questions/45725762/monolog-logger-outputs-empty-arrays-at-the-end-of-each-log-message might help – aynber Jan 07 '20 at 17:18

0 Answers0