repman-io / repman

Repman - PHP Repository Manager: packagist proxy and host for private packages
https://repman.io
MIT License
517 stars 106 forks source link

Better logging in case of errors while syncing due to a specific tag of a package #659

Open 0xIbra opened 1 year ago

0xIbra commented 1 year ago

We recently had a problem with package syncing, the error was related to an encoding issue, but the problem was we didn't know in which tag to look as the logs didn't provide this info.

My suggestion would be to provide the info that informs us which tag causes the problem here: https://github.com/repman-io/repman/blob/c384362816510d267488773077f4dbb73594c035/src/Service/PackageSynchronizer/ComposerPackageSynchronizer.php#L221