Add audit trail messages to several controllers.

This commit is contained in:
James Cole
2019-02-10 08:03:09 +01:00
parent c6e3b54705
commit c5af1d363c
5 changed files with 25 additions and 2 deletions

View File

@@ -62,7 +62,7 @@ class UpdateRequest implements GithubRequest
$releaseXml = new SimpleXMLElement($res->getBody()->getContents(), LIBXML_NOCDATA);
} catch (RuntimeException $e) {
Log::error(sprintf('Could not get body from github updat result: %s', $e->getMessage()));
$releaseXml = new SimpleXMLElement('');
throw new FireflyException(sprintf('Could not get body from github updat result: %s', $e->getMessage()));
}
//fetch the products for each category