Skip to content

Commit 65a8b30

Browse files
committed
Use Error instead of ValueError
1 parent b6958cd commit 65a8b30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export function parseConfig(config) {
122122
configUserDiskQuota[path] = {};
123123
}
124124
if ('0' in configUserDiskQuota[path]) {
125-
throw new ValueError(`The root user (uid 0) already has a configured quota for path ${path}! This is the same as setting the xfs_default_user_quota property.`)
125+
throw new Error(`The root user (uid 0) already has a configured quota for path ${path}! This is the same as setting the xfs_default_user_quota property.`)
126126
}
127127
configUserDiskQuota[path]['0'] = quotaConfig;
128128
}

0 commit comments

Comments
 (0)