charkost / prosopite

:mag: Rails N+1 queries auto-detection with zero false positives / false negatives
Apache License 2.0
1.48k stars 45 forks source link

Return error message from the check #23

Closed prikha closed 3 years ago

prikha commented 3 years ago

There are multiple cases when you need to process the message manually e.g. custom test matcher or notificaiton. It'd be cool to have an opportunity to get the error message instead of an exception.

charkost commented 3 years ago

Hello, your change seems pretty contained & would be accepted if the CI passes.

prikha commented 3 years ago

@charkost I need a bit more than a message so I went ahead with a re-write that matches my needs. Check your mail - I PM'ed you with a broader explanation.