Skip to content

Commit 1fe21cd

Browse files
committed
Revise panic message
1 parent 60b210e commit 1fe21cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bootstrap/cache/disk_cache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func NewDiskCache() *DiskCache {
5252
if !filepath.IsAbs(cacheDir) {
5353
home, err := homedir.Dir()
5454
if err != nil {
55-
panic("Can't determine your home directory")
55+
panic("Cannot determine home directory: HOME environment variable not set or inaccessible")
5656
}
5757

5858
cacheDir = filepath.Join(home, ".cache")

0 commit comments

Comments
 (0)