minify: log errors and put unminified content