Skip to content

Commit 3c691f4

Browse files
committed
Improve error message
1 parent 32fd4ca commit 3c691f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

func/domain.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -990,14 +990,14 @@ is_base_domain_owner(){
990990
# Don't care if $basedomain all ready exists only if the owner is of the base domain is the current user
991991
check=$(is_domain_new "" $basedomain)
992992
if [ $? -ne 0 ]; then
993-
echo "Error: $basedomain belongs to a different user";
993+
echo "Error: Unable to add $object. $basedomain belongs to a different user";
994994
exit 4;
995995
fi
996996
fi
997997
else
998998
check=$(is_domain_new "" "$basedomain")
999999
if [ $? -ne 0 ]; then
1000-
echo "Error: $basedomain belongs to a different user";
1000+
echo "Error: Unable to add $object. $basedomain belongs to a different user";
10011001
exit 4;
10021002
fi
10031003
fi

0 commit comments

Comments
 (0)