1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-24 07:42:40 +01:00
phorge-phorge/src/infrastructure/daemon
epriestley 4c7c518c63 Throw a richer exception when updating tasks with expired leases
Summary: Include task ID and class when raising this exception. I took a brief stab at doing this generically, but (a) we specifically raise this exception outside of normal try/catch because we can't follow normal recovery rules for it and (b) we don't have a reasonable PhutilProxyException or similar right now which would preserve stack traces, and don't have builtin exception nesting support until PHP 5.3.

Test Plan: Faked this exception, verified we get more information in the logs.

Reviewers: btrahan, vrana

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T2193

Differential Revision: https://secure.phabricator.com/D4205
2012-12-16 16:27:32 -08:00
..
control Delete license headers from files 2012-11-05 11:16:51 -08:00
irc Delete license headers from files 2012-11-05 11:16:51 -08:00
storage Delete license headers from files 2012-11-05 11:16:51 -08:00
timeline Delete license headers from files 2012-11-05 11:16:51 -08:00
workers Throw a richer exception when updating tasks with expired leases 2012-12-16 16:27:32 -08:00
PhabricatorDaemon.php Delete license headers from files 2012-11-05 11:16:51 -08:00
PhabricatorDaemonControl.php Delete license headers from files 2012-11-05 11:16:51 -08:00
PhabricatorGarbageCollectorDaemon.php Delete license headers from files 2012-11-05 11:16:51 -08:00