diff --git a/source/dub/internal/vibecompat/inet/path.d b/source/dub/internal/vibecompat/inet/path.d index 7277e7637..792798203 100644 --- a/source/dub/internal/vibecompat/inet/path.d +++ b/source/dub/internal/vibecompat/inet/path.d @@ -221,7 +221,8 @@ struct NativePath { ret.m_endsWithSlash = rhs.m_endsWithSlash; ret.normalize(); // needed to avoid "."~".." become "" instead of ".." - assert(!rhs.absolute, "Trying to append absolute path."); + assert(!rhs.absolute, "Trying to append absolute path: " ~ + this.toNativeString() ~ " ~ " ~ rhs.toNativeString()); foreach(folder; rhs.m_nodes){ switch(folder.toString()){ default: ret.m_nodes = ret.m_nodes ~ folder; break;