Skip to content

Commit c5e9467

Browse files
author
volker
committed
improve error message
1 parent d9caa03 commit c5e9467

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/inet/sass/util/ColorUtil.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ private static LexicalUnitImpl adjust(LexicalUnitImpl color, double amountByPerc
678678

679679
double[] hsl = colorToHsl(color);
680680
if( hsl == null ) {
681-
throw new ParseException( "The function adjust requires a color", color );
681+
throw new ParseException( "The function " + op + " requires a color", color );
682682
}
683683
if (op == ColorOperation.Darken) {
684684
hsl[2] = hsl[2] - amountByPercent;

0 commit comments

Comments
 (0)