mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 12:13:22 +00:00
![Chris Lord](/assets/img/avatar_default.png)
The devicemanagerADB.py pushDir method has two paths, one that uses zip/unzip and the other that just pushes each file one at a time. The idea is that the first path is chosen, and if it fails, the second is tried before bailing out, but it's possible for the first failure not to be detected in such a way that activates the fallback path. Add a try/except block to catch exceptions in the first path and fall back to the second.