~aleteoryx/muditaos

a73211d7b1b976c728964ed43253f43c07b9ced7 — Adam Dobrowolski 4 years ago c467dc9
[EGD-7932] Added logging od dir on 404

We want to know what we want to know
1 files changed, 1 insertions(+), 1 deletions(-)

M tools/download_asset2.py
M tools/download_asset2.py => tools/download_asset2.py +1 -1
@@ 172,7 172,7 @@ class GitOps:
                output.parent.mkdir(parents=True, exist_ok=True)
                self.copy_file(cached, output)
            except HTTP404NotFoundError as ex:
                raise RuntimeError(f'file not found with: {data} err: {ex}')
                raise RuntimeError(f'file not found with: {data} err: {ex}  on path: {Path(".").absolute()} with cache dir: {self.cache.absolute()} for {val["name"]}')
            except HTTP403ForbiddenError as ex:
                # gh is messed up - if you get persistent error on this file, try renaming
                raise RuntimeError(f'something is wrong with: {data} err: {ex}')