diff options
author | Pedro Alvarez Piedehierro <palvarez89@gmail.com> | 2017-07-07 01:02:45 +0100 |
---|---|---|
committer | Pedro Alvarez Piedehierro <palvarez89@gmail.com> | 2017-07-08 00:38:40 +0100 |
commit | 4904757576053be163bc51cd8a2883ef6fea108a (patch) | |
tree | 5a5a27fdd1e618fc196e6901cab1e8fee2b8e967 | |
parent | dddd2e37953d795e4004b1d2722c25ec652135ad (diff) | |
download | lorry-controller-4904757576053be163bc51cd8a2883ef6fea108a.tar.gz |
Create extra setting to publish lorry failures
-rwxr-xr-x | lorry-controller-webapp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lorry-controller-webapp b/lorry-controller-webapp index 7d4479c..7a3e3b5 100755 --- a/lorry-controller-webapp +++ b/lorry-controller-webapp @@ -138,6 +138,10 @@ class WEBAPP(cliapp.Application): ['gitlab-private-token'], 'private token for GitLab API access') + self.settings.boolean( + ['publish-failures'], + 'make the status page show failure logs from lorry') + def find_routes(self): '''Return all classes that are API routes. |