diff --git a/source/dub/dub.d b/source/dub/dub.d index fa07398..482db69 100644 --- a/source/dub/dub.d +++ b/source/dub/dub.d @@ -334,7 +334,10 @@ pinfo = ps.getPackageDescription(packageId, dep, use_prerelease); supplier = ps; break; - } catch(Exception) {} + } catch(Exception e) { + logDiagnostic("Package %s not found at for %s: %s", packageId, ps.description(), e.msg); + logDebug("Full error: %s", e.toString().sanitize()); + } } enforce(pinfo.type != Json.Type.undefined, "No package "~packageId~" was found matching the dependency "~dep.toString()); string ver = pinfo["version"].get!string;