]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Better error reporting
authorBrett Mason <brettsmason@gmail.com>
Fri, 13 Jan 2017 15:48:48 +0000 (15:48 +0000)
committerBrett Mason <brettsmason@gmail.com>
Fri, 13 Jan 2017 20:41:37 +0000 (20:41 +0000)
scss/util/_typography.scss

index 10bd356c4bcdb155f8ff638592b1f30f35ff7315..3cb451e58b03c9df7c934f37236ce3d5f1901431 100644 (file)
@@ -25,10 +25,10 @@ $-zf-font-stack: (
       @return map-get($map, $stack);
     }
     @else {
-      @error 'Font stack $key is not available in $map';
+      @error 'Font stack `#{$stack}` is not available in `#{$map}`';
     }
   }
   @else {
-    @error '$map is not a map';
+    @error '`#{$map}` is not a valid map';
   }
 }