Instrumental / instrumental_agent-php

PHP Agent for Instrumental Application Monitoring
https://instrumentalapp.com
MIT License
8 stars 2 forks source link

Fix a monolog call that masked underlying exceptions #5

Closed jason-o-matic closed 6 years ago

jason-o-matic commented 6 years ago

When DNS resolution failed we logged a message. Unfortunately the logger call had an incorrect argument and would then raise a new exception.

This removes the bad argument and adds a test to verify the correct message gets logged.

https://github.com/Instrumental/instrumental_agent-php/issues/3