Add retry count to meta mta view
Summary: Show the retry count in the meta mta view (in addition to the list of messages) - I find this info useful when I'm trying to debug what's going on with mail failures. Task ID: # Blame Rev: Test Plan: loaded /mail/view/NNNNN/ and saw the retry count Revert Plan: Tags: Reviewers: epriestley, btrahan, jungejason Reviewed By: epriestley CC: aran, epriestley Differential Revision: https://secure.phabricator.com/D1782
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright 2011 Facebook, Inc.
|
* Copyright 2012 Facebook, Inc.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
@@ -52,6 +52,10 @@ class PhabricatorMetaMTAViewController extends PhabricatorMetaMTAController {
|
|||||||
id(new AphrontFormStaticControl())
|
id(new AphrontFormStaticControl())
|
||||||
->setLabel('Status')
|
->setLabel('Status')
|
||||||
->setValue($status))
|
->setValue($status))
|
||||||
|
->appendChild(
|
||||||
|
id(new AphrontFormStaticControl())
|
||||||
|
->setLabel('Retry Count')
|
||||||
|
->setValue($mail->getRetryCount()))
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormStaticControl())
|
id(new AphrontFormStaticControl())
|
||||||
->setLabel('Message')
|
->setLabel('Message')
|
||||||
|
|||||||
Reference in New Issue
Block a user