GH-837: emit Reporter errors for Broker errors

Instead of only writing them in broker.log, which may be easy to
overlook.
This commit is contained in:
Jon Siwek 2020-07-16 18:07:00 -07:00
parent 7e03233d55
commit c84a51ac09

View file

@ -76,5 +76,7 @@ event Broker::error(code: ErrorCode, msg: string)
$ev = ev,
$ty = ERROR,
$message = msg]);
Reporter::error(fmt("Broker error (%s): %s", code, msg));
}