Skip to content

phab sink: Gracefully handle non-existent or inaccessible tasks

Ahmon Dancy requested to merge main-Ieeeae1075c0624af1722e1670229bfb05b899dd5 into main

lib/phab.py:
Client.lookupPhid():
Instead of raising an exception if the task cannot be found, return None
Client.editTask():
Return a boolean indicating whether or not editing happened.
In particular, return False if the task is not found.


Related MRs:

Depends-On: !24 (merged)

Edited by Ahmon Dancy

Merge request reports