Commit 201f145d authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

More verbose error message.

parent 106da11f
......@@ -120,7 +120,7 @@ func (me *inode) setParent(newParent *inode) {
me.Parent = newParent
ch := me.Parent.Children[me.Name]
if ch != nil {
panic(fmt.Sprintf("Already have an inode with same name: %v.", me.Name))
panic(fmt.Sprintf("Already have an inode with same name: %v: %v", me.Name, ch))
}
me.Parent.Children[me.Name] = me
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment