Add better logging for style processing
This commit is contained in:
@@ -48,13 +48,13 @@ func compileSCSS() (string, error) {
|
|||||||
|
|
||||||
transpiler, err := godartsass.Start(godartsass.Options{})
|
transpiler, err := godartsass.Start(godartsass.Options{})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal("cannot start transpiler: ", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
css, err := transpiler.Execute(args)
|
css, err := transpiler.Execute(args)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal("cannot compile SCSS: ", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Println("CSS compiled")
|
log.Println("CSS compiled")
|
||||||
|
|||||||
Reference in New Issue
Block a user